lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701191948.1ET5HHbM%fengguang.wu@intel.com>
Date:   Thu, 19 Jan 2017 19:13:47 +0800
From:   kbuild test robot <lkp@...el.com>
To:     SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc:     kbuild-all@...org, kvm@...r.kernel.org, linux-mips@...ux-mips.org,
        James Hogan <james.hogan@...tec.com>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Radim Krčmář <rkrcmar@...hat.com>,
        Ralf Bächle <ralf@...ux-mips.org>,
        LKML <linux-kernel@...r.kernel.org>,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] MIPS: KVM: Return directly after a failed
 copy_from_user() in kvm_arch_vcpu_ioctl()

Hi Markus,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.10-rc4 next-20170119]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/MIPS-KVM-Return-directly-after-a-failed-copy_from_user-in-kvm_arch_vcpu_ioctl/20170119-154855
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: mips-malta_kvm_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/kvm/mips.c: In function 'kvm_arch_vcpu_ioctl':
>> arch/mips/kvm/mips.c:1175:1: error: label 'out' defined but not used [-Werror=unused-label]
    out:
    ^~~
   cc1: all warnings being treated as errors

vim +/out +1175 arch/mips/kvm/mips.c

5fafd8748 arch/mips/kvm/mips.c     James Hogan 2014-12-08  1169  		break;
5fafd8748 arch/mips/kvm/mips.c     James Hogan 2014-12-08  1170  	}
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1171  	default:
4c73fb2b0 arch/mips/kvm/kvm_mips.c David Daney 2013-05-23  1172  		r = -ENOIOCTLCMD;
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1173  	}
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1174  
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21 @1175  out:
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1176  	return r;
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1177  }
669e846e6 arch/mips/kvm/kvm_mips.c Sanjay Lal  2012-11-21  1178  

:::::: The code at line 1175 was first introduced by commit
:::::: 669e846e6c4e13f16d7418973609931e362cb16a KVM/MIPS32: MIPS arch specific APIs for KVM

:::::: TO: Sanjay Lal <sanjayl@...asys.com>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (18266 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ