public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip:irq/drivers 5/41] drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used
@ 2026-03-30  0:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-30  0:04 UTC (permalink / raw)
  To: Brian Masney; +Cc: llvm, oe-kbuild-all, linux-kernel, x86, Thomas Gleixner

Hi Brian,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/drivers
head:   9fd2170d70178faa0427adaa9d2dfdbfa231d1b7
commit: 4b52df1b4e1d9cf4cb5a8e1b5287d1e3d1a6aa0c [5/41] irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST
config: arm-randconfig-002-20260330 (https://download.01.org/0day-ci/archive/20260330/202603300715.4HuMMAFb-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260330/202603300715.4HuMMAFb-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/202603300715.4HuMMAFb-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used [-Wunused-but-set-global]
      54 | static void (*board_bind_eic_interrupt)(int irq, int regset);
         |               ^
   1 warning generated.


vim +/board_bind_eic_interrupt +54 drivers/irqchip/irq-pic32-evic.c

aaa8666ada780e8 Cristian Birsan 2016-01-13  44  
15f9b251fe40499 Brian Masney    2026-02-22  45  #ifdef CONFIG_MIPS
aaa8666ada780e8 Cristian Birsan 2016-01-13  46  asmlinkage void __weak plat_irq_dispatch(void)
aaa8666ada780e8 Cristian Birsan 2016-01-13  47  {
1fee9db9b42d821 Marc Zyngier    2021-07-06  48  	unsigned int hwirq;
aaa8666ada780e8 Cristian Birsan 2016-01-13  49  
aaa8666ada780e8 Cristian Birsan 2016-01-13  50  	hwirq = readl(evic_base + REG_INTSTAT) & 0xFF;
1fee9db9b42d821 Marc Zyngier    2021-07-06  51  	do_domain_IRQ(evic_irq_domain, hwirq);
aaa8666ada780e8 Cristian Birsan 2016-01-13  52  }
282f8b547d51d8a Brian Masney    2026-02-22  53  #else
282f8b547d51d8a Brian Masney    2026-02-22 @54  static void (*board_bind_eic_interrupt)(int irq, int regset);
15f9b251fe40499 Brian Masney    2026-02-22  55  #endif
aaa8666ada780e8 Cristian Birsan 2016-01-13  56  

:::::: The code at line 54 was first introduced by commit
:::::: 282f8b547d51d8a33b9230ba58e2324babe0a96a irqchip/irq-pic32-evic: Define board_bind_eic_interrupt for !MIPS builds

:::::: TO: Brian Masney <bmasney@redhat.com>
:::::: CC: Thomas Gleixner <tglx@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-30  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30  0:04 [tip:irq/drivers 5/41] drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox