[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210180729.rIIE5pzp-lkp@intel.com>
Date: Tue, 18 Oct 2022 07:15:20 +0800
From: kernel test robot <lkp@...el.com>
To: Anup Patel <apatel@...tanamicro.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_sbi_nested_v1 24/43] arch/riscv/kvm/aia.c:204:36:
sparse: sparse: incorrect type in argument 2 (different address spaces)
tree: https://github.com/avpatel/linux.git riscv_sbi_nested_v1
head: dbf52c86cc3d8cadf34862d5d8f7734e92081d1d
commit: 325cd39ca129e58e5ced2ee7c19375d52e2d622f [24/43] RISC-V: KVM: Implement guest external interrupt line management
config: riscv-randconfig-s041-20221018
compiler: riscv64-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/avpatel/linux/commit/325cd39ca129e58e5ced2ee7c19375d52e2d622f
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_sbi_nested_v1
git checkout 325cd39ca129e58e5ced2ee7c19375d52e2d622f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kvm/ drivers/hid/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
WARNING: invalid argument to '-march': '_zihintpause'
>> arch/riscv/kvm/aia.c:204:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void * @@ got struct aia_hgei_control [noderef] __percpu * @@
arch/riscv/kvm/aia.c:204:36: sparse: expected void *
arch/riscv/kvm/aia.c:204:36: sparse: got struct aia_hgei_control [noderef] __percpu *
vim +204 arch/riscv/kvm/aia.c
200
201 static void aia_hgei_exit(void)
202 {
203 /* Free per-CPU SGEI interrupt */
> 204 free_irq(hgei_parent_irq, &aia_hgei);
205 }
206
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (165443 bytes)
Powered by blists - more mailing lists