[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202407300645.8EAO5dys-lkp@intel.com>
Date: Tue, 30 Jul 2024 06:51:56 +0800
From: kernel test robot <lkp@...el.com>
To: Marek BehĂșn <kabel@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, x86@...nel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:irq/core 23/30] drivers/irqchip/irq-armada-370-xp.c:263:37:
error: use of undeclared identifier 'd'
Hi Marek,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
head: e626fcbaa9b67e4488ea437e0e8a5657e707d5f8
commit: f72976cd7f0e16639f29398d5fe5ab1b03789b42 [23/30] irqchip/armada-370-xp: Use consistent name for struct irq_data variables
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240730/202407300645.8EAO5dys-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240730/202407300645.8EAO5dys-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407300645.8EAO5dys-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/irqchip/irq-armada-370-xp.c:263:37: error: use of undeclared identifier 'd'
irq_data_update_effective_affinity(d, cpumask_of(cpu));
^
1 error generated.
vim +/d +263 drivers/irqchip/irq-armada-370-xp.c
250
251 static int mpic_msi_set_affinity(struct irq_data *irq_data, const struct cpumask *mask, bool force)
252 {
253 unsigned int cpu;
254
255 if (!force)
256 cpu = cpumask_any_and(mask, cpu_online_mask);
257 else
258 cpu = cpumask_first(mask);
259
260 if (cpu >= nr_cpu_ids)
261 return -EINVAL;
262
> 263 irq_data_update_effective_affinity(d, cpumask_of(cpu));
264
265 return IRQ_SET_MASK_OK;
266 }
267
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists