lkml.org 
[lkml]   [2017]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@kymasys.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-01-19 12:18    [W:0.088 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site