linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm-platforms:irq/fiq 5/9] arch/arm64/kernel/irq.c:74:6: warning: no previous prototype for function 'default_handle_irq'
@ 2021-02-19 19:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-19 19:59 UTC (permalink / raw)
  To: Mark Rutland; +Cc: clang-built-linux, kbuild-all, linux-arm-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/fiq
head:   cdd1f26172a46397fcc4e659c7cd1a0fa78e13e7
commit: a117a04cd7136520a32af6c4fb39e40cba1dacb2 [5/9] arm64: irq: add a default handle_irq panic function
config: arm64-randconfig-r035-20210219 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=a117a04cd7136520a32af6c4fb39e40cba1dacb2
        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/fiq
        git checkout a117a04cd7136520a32af6c4fb39e40cba1dacb2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> arch/arm64/kernel/irq.c:74:6: warning: no previous prototype for function 'default_handle_irq' [-Wmissing-prototypes]
   void default_handle_irq(struct pt_regs *regs)
        ^
   arch/arm64/kernel/irq.c:74:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void default_handle_irq(struct pt_regs *regs)
   ^
   static 
   arch/arm64/kernel/irq.c:90:13: warning: no previous prototype for function 'init_IRQ' [-Wmissing-prototypes]
   void __init init_IRQ(void)
               ^
   arch/arm64/kernel/irq.c:90:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init init_IRQ(void)
   ^
   static 
   2 warnings generated.


vim +/default_handle_irq +74 arch/arm64/kernel/irq.c

    73	
  > 74	void default_handle_irq(struct pt_regs *regs)
    75	{
    76		panic("IRQ taken without a registered IRQ controller\n");
    77	}
    78	

---
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: 34370 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-02-19 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 19:59 [arm-platforms:irq/fiq 5/9] arch/arm64/kernel/irq.c:74:6: warning: no previous prototype for function 'default_handle_irq' 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).