All of lore.kernel.org
 help / color / mirror / Atom feed
* [lpieralisi:dev/gicv5-v4 19/27] arch/arm64/kernel/smp.c:1149:36: sparse: sparse: incorrect type in argument 5 (different address spaces)
@ 2025-05-13 17:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-13 17:49 UTC (permalink / raw)
  To: Lorenzo Pieralisi; +Cc: oe-kbuild-all

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

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

only message in thread, other threads:[~2025-05-13 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 17:49 [lpieralisi:dev/gicv5-v4 19/27] arch/arm64/kernel/smp.c:1149:36: sparse: sparse: incorrect type in argument 5 (different address spaces) kernel test robot

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.