[arm-platforms:irq/domain_cleanup 37/39] arch/xtensa/kernel/irq.c:49:34: error: 'irq' undeclared; did you mean 'rq'?

kernel test robot lkp at intel.com
Mon May 17 08:13:02 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head:   02b62579a91b5a74d7f6f249a647511795e814ea
commit: 64eba608920dc4af847abd3d8f5a4bc44528ecb1 [37/39] xtensa: Bulk conversion to generic_handle_domain_irq()
config: xtensa-randconfig-r036-20210517 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=64eba608920dc4af847abd3d8f5a4bc44528ecb1
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms irq/domain_cleanup
        git checkout 64eba608920dc4af847abd3d8f5a4bc44528ecb1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=xtensa 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   arch/xtensa/kernel/irq.c:34:17: warning: no previous prototype for 'do_IRQ' [-Wmissing-prototypes]
      34 | asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
         |                 ^~~~~~
   arch/xtensa/kernel/irq.c: In function 'do_IRQ':
>> arch/xtensa/kernel/irq.c:49:34: error: 'irq' undeclared (first use in this function); did you mean 'rq'?
      49 |  generic_handle_domain_irq(NULL, irq);
         |                                  ^~~
         |                                  rq
   arch/xtensa/kernel/irq.c:49:34: note: each undeclared identifier is reported only once for each function it appears in
   arch/xtensa/kernel/irq.c: At top level:
   arch/xtensa/kernel/irq.c:144:13: warning: no previous prototype for 'init_IRQ' [-Wmissing-prototypes]
     144 | void __init init_IRQ(void)
         |             ^~~~~~~~


vim +49 arch/xtensa/kernel/irq.c

    33	
    34	asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
    35	{
    36	#ifdef CONFIG_DEBUG_STACKOVERFLOW
    37		/* Debugging check for stack overflow: is there less than 1KB free? */
    38		{
    39			unsigned long sp;
    40	
    41			__asm__ __volatile__ ("mov %0, a1\n" : "=a" (sp));
    42			sp &= THREAD_SIZE - 1;
    43	
    44			if (unlikely(sp < (sizeof(thread_info) + 1024)))
    45				printk("Stack overflow in do_IRQ: %ld\n",
    46				       sp - sizeof(struct thread_info));
    47		}
    48	#endif
  > 49		generic_handle_domain_irq(NULL, irq);
    50	}
    51	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 23817 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210517/e743b926/attachment-0001.gz>


More information about the linux-arm-kernel mailing list