[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 lkp at intel.com
Fri Feb 19 14:59:39 EST 2021


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34370 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210220/4800abe4/attachment-0001.gz>


More information about the linux-arm-kernel mailing list