linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/s390/kvm/../../../virt/kvm/kvm_main.c:4326:17: sparse: struct kvm_vcpu Documentation Kbuild Makefile crypto include sound usr <asn:3> kvm_get_running_vcpus( ... )
@ 2020-06-16  3:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-16  3:23 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kbuild-all, linux-kernel, Peter Xu

[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55
commit: 7495e22bb165e7030bae4d9c6e84addb5ea17b29 KVM: Move running VCPU from ARM to common code
date:   5 months ago
config: s390-randconfig-s032-20200615 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-rc1-3-g55607964-dirty
        git checkout 7495e22bb165e7030bae4d9c6e84addb5ea17b29
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=s390 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   arch/s390/kvm/../../../virt/kvm/kvm_main.c:4326:17: sparse: sparse: symbol 'kvm_get_running_vcpus' redeclared with different type (different address spaces):
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:4326:17: sparse:    struct kvm_vcpu *[noderef] <asn:3> *extern [addressable] [toplevel] kvm_get_running_vcpus( ... )
   include/linux/kvm_host.h:1339:26: sparse: note: previously declared as:
   include/linux/kvm_host.h:1339:26: sparse:    struct kvm_vcpu [noderef] <asn:3> **extern [addressable] [toplevel] kvm_get_running_vcpus( ... )

vim +4326 arch/s390/kvm/../../../virt/kvm/kvm_main.c

  4322	
  4323	/**
  4324	 * kvm_get_running_vcpus - get the per-CPU array of currently running vcpus.
  4325	 */
> 4326	struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void)
  4327	{
  4328	        return &kvm_running_vcpu;
  4329	}
  4330	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25000 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-16  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16  3:23 arch/s390/kvm/../../../virt/kvm/kvm_main.c:4326:17: sparse: struct kvm_vcpu Documentation Kbuild Makefile crypto include sound usr <asn:3> kvm_get_running_vcpus( ... ) kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).