[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601141105.x7z7rWPk-lkp@intel.com>
Date: Wed, 14 Jan 2026 12:35:39 +0800
From: kernel test robot <lkp@...el.com>
To: Imran Khan <imran.f.khan@...cle.com>, tglx@...utronix.de
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] genirq/cpuhotplug: notify about irq affinity change
for offlined cpus.
Hi Imran,
kernel test robot noticed the following build errors:
[auto build test ERROR on f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da]
url: https://github.com/intel-lab-lkp/linux/commits/Imran-Khan/genirq-cpuhotplug-notify-about-irq-affinity-change-for-offlined-cpus/20260113-223900
base: f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
patch link: https://lore.kernel.org/r/20260113143727.1041265-1-imran.f.khan%40oracle.com
patch subject: [PATCH v3] genirq/cpuhotplug: notify about irq affinity change for offlined cpus.
config: arm-randconfig-002-20260114 (https://download.01.org/0day-ci/archive/20260114/202601141105.x7z7rWPk-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260114/202601141105.x7z7rWPk-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/202601141105.x7z7rWPk-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/irq/manage.c:149:6: error: redefinition of 'schedule_affinity_notify_work'
149 | void schedule_affinity_notify_work(struct irq_desc *desc)
| ^
include/linux/interrupt.h:449:20: note: previous definition is here
449 | static inline void schedule_affinity_notify_work(struct irq_desc *desc) { }
| ^
>> kernel/irq/manage.c:151:18: error: no member named 'affinity_notify' in 'struct irq_desc'
151 | kref_get(&desc->affinity_notify->kref);
| ~~~~ ^
kernel/irq/manage.c:152:28: error: no member named 'affinity_notify' in 'struct irq_desc'
152 | if (!schedule_work(&desc->affinity_notify->work))
| ~~~~ ^
kernel/irq/manage.c:154:19: error: no member named 'affinity_notify' in 'struct irq_desc'
154 | kref_put(&desc->affinity_notify->kref,
| ~~~~ ^
kernel/irq/manage.c:155:11: error: no member named 'affinity_notify' in 'struct irq_desc'
155 | desc->affinity_notify->release);
| ~~~~ ^
5 errors generated.
vim +151 kernel/irq/manage.c
141
142 /**
143 * schedule_affinity_notify_work - Schedule work to notify
144 * about irq affinity change.
145 * @desc: irq descriptor whose affinity changed
146 *
147 * Caller needs to hold desc->lock
148 */
149 void schedule_affinity_notify_work(struct irq_desc *desc)
150 {
> 151 kref_get(&desc->affinity_notify->kref);
152 if (!schedule_work(&desc->affinity_notify->work))
153 /* Work was already scheduled, drop our extra ref */
154 kref_put(&desc->affinity_notify->kref,
155 desc->affinity_notify->release);
156 }
157 EXPORT_SYMBOL_GPL(schedule_affinity_notify_work);
158
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists