Re: [PATCH v9 3/9] irq & spin_lock: Add counted interrupt disabling/enabling

From: kernel test robot
Date: Sat Mar 01 2025 - 15:20:51 EST


Hi Lyude,

kernel test robot noticed the following build errors:

[auto build test ERROR on 2014c95afecee3e76ca4a56956a936e23283f05b]

url: https://github.com/intel-lab-lkp/linux/commits/Lyude-Paul/preempt-Introduce-HARDIRQ_DISABLE_BITS/20250228-062508
base: 2014c95afecee3e76ca4a56956a936e23283f05b
patch link: https://lore.kernel.org/r/20250227221924.265259-4-lyude%40redhat.com
patch subject: [PATCH v9 3/9] irq & spin_lock: Add counted interrupt disabling/enabling
config: sparc-randconfig-001-20250302 (https://download.01.org/0day-ci/archive/20250302/202503020344.HCIfRKwM-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250302/202503020344.HCIfRKwM-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503020344.HCIfRKwM-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

kernel/locking/spinlock.c: In function '_raw_spin_lock_irq_disable':
>> kernel/locking/spinlock.c:178:9: error: implicit declaration of function '__raw_spin_lock_irq_disable'; did you mean '_raw_spin_lock_irq_disable'? [-Wimplicit-function-declaration]
178 | __raw_spin_lock_irq_disable(lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| _raw_spin_lock_irq_disable


vim +178 kernel/locking/spinlock.c

174
175 #ifndef CONFIG_INLINE_SPIN_LOCK_IRQ
176 noinline void __lockfunc _raw_spin_lock_irq_disable(raw_spinlock_t *lock)
177 {
> 178 __raw_spin_lock_irq_disable(lock);
179 }
180 EXPORT_SYMBOL_GPL(_raw_spin_lock_irq_disable);
181 #endif
182

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki