lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202601140909.LBJvN7Nb-lkp@intel.com>
Date: Wed, 14 Jan 2026 09:41:04 +0800
From: kernel test robot <lkp@...el.com>
To: Imran Khan <imran.f.khan@...cle.com>, tglx@...utronix.de
Cc: 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: 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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ