Re: [PATCH] MIPS: KVM: Return directly after a failed copy_from_user() in kvm_arch_vcpu_ioctl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
:::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux