mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Imran Khan <imran.f.khan@oracle.com>, tglx@linutronix.de
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] genirq/cpuhotplug: notify about irq affinity change for offlined cpus.
Date: Wed, 14 Jan 2026 12:35:39 +0800	[thread overview]
Message-ID: <202601141105.x7z7rWPk-lkp@intel.com> (raw)
In-Reply-To: <20260113143727.1041265-1-imran.f.khan@oracle.com>

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@intel.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

      parent reply	other threads:[~2026-01-14  4:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13 14:37 Imran Khan
2026-01-13 20:14 ` Thomas Gleixner
2026-01-13 20:23 ` [tip: irq/core] genirq/cpuhotplug: Notify about affinity changes breaking the affinity mask tip-bot2 for Imran Khan
2026-01-14  1:41 ` [PATCH v3] genirq/cpuhotplug: notify about irq affinity change for offlined cpus kernel test robot
2026-01-14  4:35 ` kernel test robot [this message]

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=202601141105.x7z7rWPk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=imran.f.khan@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®