linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm-platforms:irq/domain_cleanup 37/39] arch/xtensa/kernel/irq.c:49:34: error: 'irq' undeclared; did you mean 'rq'?
@ 2021-05-17 15:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-17 15:13 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2778 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23817 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

only message in thread, other threads:[~2021-05-17 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 15:13 [arm-platforms:irq/domain_cleanup 37/39] arch/xtensa/kernel/irq.c:49:34: error: 'irq' undeclared; did you mean 'rq'? 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;
as well as URLs for NNTP newsgroup(s).