From: kernel test robot <lkp@intel.com>
To: Anup Patel <apatel@ventanamicro.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 28/32] arch/riscv/kvm/aia.c:204:36: sparse: sparse: incorrect type in argument 2 (different address spaces)
Date: Wed, 6 Jul 2022 03:39:30 +0800 [thread overview]
Message-ID: <202207060355.6VaTkLVp-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: 25efea788788c9750502faf4bee88cdd48418ba2
commit: 286d3fbfb03511fabb0a2d3408a7e8491d688a60 [28/32] RISC-V: KVM: Implement guest external interrupt line management
config: riscv-randconfig-s031-20220703 (https://download.01.org/0day-ci/archive/20220706/202207060355.6VaTkLVp-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.3.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/286d3fbfb03511fabb0a2d3408a7e8491d688a60
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout 286d3fbfb03511fabb0a2d3408a7e8491d688a60
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kvm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> 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
reply other threads:[~2022-07-05 19:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207060355.6VaTkLVp-lkp@intel.com \
--to=lkp@intel.com \
--cc=apatel@ventanamicro.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®