From: kernel test robot <lkp@intel.com>
To: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [lpieralisi:dev/gicv5-v4 19/27] arch/arm64/kernel/smp.c:1149:36: sparse: sparse: incorrect type in argument 5 (different address spaces)
Date: Wed, 14 May 2025 01:49:52 +0800 [thread overview]
Message-ID: <202505140125.NylFrFlZ-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git dev/gicv5-v4
head: 5731383379ee882b2a7f7c82f36939a9f4e52fda
commit: edce5d721e12cb9ecb78004667f077d1f275e950 [19/27] arm64: smp: Support non-SGIs for IPIs
config: arm64-randconfig-r112-20250513 (https://download.01.org/0day-ci/archive/20250514/202505140125.NylFrFlZ-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce: (https://download.01.org/0day-ci/archive/20250514/202505140125.NylFrFlZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505140125.NylFrFlZ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kernel/smp.c:1149:36: sparse: sparse: incorrect type in argument 5 (different address spaces) @@ expected void *dev @@ got struct irq_cpustat_t [noderef] __percpu * @@
arch/arm64/kernel/smp.c:1149:36: sparse: expected void *dev
arch/arm64/kernel/smp.c:1149:36: sparse: got struct irq_cpustat_t [noderef] __percpu *
vim +1149 arch/arm64/kernel/smp.c
1136
1137 static void ipi_setup_lpi(int ipi, int ncpus)
1138 {
1139 for (int cpu = 0; cpu < ncpus; cpu++) {
1140 int err, irq;
1141
1142 irq = ipi_to_irq(ipi, cpu);
1143
1144 err = irq_force_affinity(irq, cpumask_of(cpu));
1145
1146 WARN(err, "Could not force affinity IRQ %d, err=%d\n", irq, err);
1147
1148 err = request_irq(irq, ipi_handler, IRQF_NO_AUTOEN, "IPI",
> 1149 &irq_stat);
1150
1151 WARN(err, "Could not request IRQ %d, err=%d\n", irq, err);
1152
1153 irq_set_status_flags(irq, (IRQ_HIDDEN | IRQ_NO_BALANCING_MASK));
1154
1155 get_ipi_desc(cpu, ipi) = irq_to_desc(irq);
1156 }
1157 }
1158
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-13 17:50 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=202505140125.NylFrFlZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=lpieralisi@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.