arch/mips/sgi-ip27/ip27-irq.c:280:13: warning: unused variable 'i'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 66e4190e92ce0e4a50b2f6be0e5f5b2e47e072f4 commit: 40e20fbccfb722f219ab8d3ff1edde99e4a7c46c [5544/6520] MIPS: SGI-IP27: micro-optimize arch_init_irq() config: mips-ip27_defconfig (https://download.01.org/0day-ci/archive/20240416/[email protected]/config) compiler: mips64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240416/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
arch/mips/sgi-ip27/ip27-irq.c: In function 'arch_init_irq':
>> arch/mips/sgi-ip27/ip27-irq.c:280:13: warning: unused variable 'i' [-Wunused-variable]
280 | int i;
| ^vim +/i +280 arch/mips/sgi-ip27/ip27-irq.c
69a07a41d908f9 Thomas Bogendoerfer 2019-02-19 275
69a07a41d908f9 Thomas Bogendoerfer 2019-02-19 276 void __init arch_init_irq(void)
69a07a41d908f9 Thomas Bogendoerfer 2019-02-19 277 {
e6308b6d35ea70 Thomas Bogendoerfer 2019-05-07 278 struct irq_domain *domain;
e6308b6d35ea70 Thomas Bogendoerfer 2019-05-07 279 struct fwnode_handle *fn;e6308b6d35ea70 Thomas Bogendoerfer 2019-05-07 @280 int i;
:::::: The code at line 280 was first introduced by commit
:::::: e6308b6d35ea706c23a589a8c709fa444ff13e17 MIPS: SGI-IP27: abstract chipset irq from bridge
:::::: TO: Thomas Bogendoerfer <[email protected]> :::::: CC: Paul Burton <[email protected]>
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki