* [frederic-dynticks:kthread/core-v2 35/35] kernel/irq/manage.c:1411:46: error: no member named 'affinity' in 'struct irq_common_data'
@ 2025-08-26 19:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-26 19:42 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git kthread/core-v2
head: 6bcb15d1aebd50828a313a2ec927dea9d0ab9b8f
commit: 6bcb15d1aebd50828a313a2ec927dea9d0ab9b8f [35/35] genirq: Correctly handle preferred kthreads affinity
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20250827/202508270331.tMyrfknq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d26ea02060b1c9db751d188b2edb0059a9eb273d)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250827/202508270331.tMyrfknq-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/202508270331.tMyrfknq-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/irq/manage.c:1411:46: error: no member named 'affinity' in 'struct irq_common_data'
1411 | if (cpumask_available(desc->irq_common_data.affinity))
| ~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
vim +1411 kernel/irq/manage.c
1385
1386 static int
1387 setup_irq_thread(struct irqaction *new, struct irq_desc *desc,
1388 unsigned int irq, bool secondary)
1389 {
1390 const struct cpumask *mask;
1391 struct task_struct *t;
1392
1393 if (!secondary) {
1394 t = kthread_create(irq_thread, new, "irq/%d-%s", irq,
1395 new->name);
1396 } else {
1397 t = kthread_create(irq_thread, new, "irq/%d-s-%s", irq,
1398 new->name);
1399 }
1400
1401 if (IS_ERR(t))
1402 return PTR_ERR(t);
1403
1404 /*
1405 * We keep the reference to the task struct even if
1406 * the thread dies to avoid that the interrupt code
1407 * references an already freed task_struct.
1408 */
1409 new->thread = get_task_struct(t);
1410
> 1411 if (cpumask_available(desc->irq_common_data.affinity))
1412 mask = irq_data_get_effective_affinity_mask(&desc->irq_data);
1413 else
1414 mask = cpu_possible_mask;
1415
1416 kthread_affine_preferred(t, mask);
1417
1418 return 0;
1419 }
1420
--
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-08-26 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26 19:42 [frederic-dynticks:kthread/core-v2 35/35] kernel/irq/manage.c:1411:46: error: no member named 'affinity' in 'struct irq_common_data' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).