public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Imran Khan <imran.f.khan@oracle.com>, tglx@linutronix.de
Cc: 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 09:41:04 +0800	[thread overview]
Message-ID: <202601140909.LBJvN7Nb-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: x86_64-buildonly-randconfig-002-20260114 (https://download.01.org/0day-ci/archive/20260114/202601140909.LBJvN7Nb-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260114/202601140909.LBJvN7Nb-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/202601140909.LBJvN7Nb-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)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from kernel/irq/manage.c:15:
   include/linux/interrupt.h:449:20: note: previous definition of 'schedule_affinity_notify_work' with type 'void(struct irq_desc *)'
     449 | static inline void schedule_affinity_notify_work(struct irq_desc *desc) { }
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/irq/manage.c: In function 'schedule_affinity_notify_work':
>> kernel/irq/manage.c:151:23: error: 'struct irq_desc' has no member named 'affinity_notify'
     151 |         kref_get(&desc->affinity_notify->kref);
         |                       ^~
   In file included from include/linux/export.h:5,
                    from include/linux/linkage.h:7,
                    from arch/x86/include/asm/cache.h:5,
                    from include/vdso/cache.h:5,
                    from include/linux/cache.h:6,
                    from include/linux/irq.h:13,
                    from kernel/irq/manage.c:11:
   kernel/irq/manage.c:152:33: error: 'struct irq_desc' has no member named 'affinity_notify'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |                                 ^~
   include/linux/compiler.h:57:52: note: in definition of macro '__trace_if_var'
      57 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
         |                                                    ^~~~
   kernel/irq/manage.c:152:9: note: in expansion of macro 'if'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |         ^~
   kernel/irq/manage.c:152:33: error: 'struct irq_desc' has no member named 'affinity_notify'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |                                 ^~
   include/linux/compiler.h:57:61: note: in definition of macro '__trace_if_var'
      57 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
         |                                                             ^~~~
   kernel/irq/manage.c:152:9: note: in expansion of macro 'if'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |         ^~
   kernel/irq/manage.c:152:33: error: 'struct irq_desc' has no member named 'affinity_notify'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |                                 ^~
   include/linux/compiler.h:68:10: note: in definition of macro '__trace_if_value'
      68 |         (cond) ?                                        \
         |          ^~~~
   include/linux/compiler.h:55:28: note: in expansion of macro '__trace_if_var'
      55 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
         |                            ^~~~~~~~~~~~~~
   kernel/irq/manage.c:152:9: note: in expansion of macro 'if'
     152 |         if (!schedule_work(&desc->affinity_notify->work))
         |         ^~
   kernel/irq/manage.c:154:31: error: 'struct irq_desc' has no member named 'affinity_notify'
     154 |                 kref_put(&desc->affinity_notify->kref,
         |                               ^~
   kernel/irq/manage.c:155:30: error: 'struct irq_desc' has no member named 'affinity_notify'
     155 |                          desc->affinity_notify->release);
         |                              ^~


vim +/schedule_affinity_notify_work +149 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  1:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13 14:37 [PATCH v3] genirq/cpuhotplug: notify about irq affinity change for offlined cpus 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 ` kernel test robot [this message]
2026-01-14  4:35 ` [PATCH v3] genirq/cpuhotplug: notify about irq affinity change for offlined cpus kernel test robot

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=202601140909.LBJvN7Nb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=imran.f.khan@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --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