[arm-platforms:irq/fiq 8/9] arch/arm64/kernel/irq.c:79:6: warning: no previous prototype for function 'default_handle_fiq'
kernel test robot
lkp at intel.com
Fri Feb 19 15:15:01 EST 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/fiq
head: cdd1f26172a46397fcc4e659c7cd1a0fa78e13e7
commit: 42c513c4b2f8065f294c5ee8b7ec18d2f429559c [8/9] arm64: irq: allow FIQs to be handled
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=42c513c4b2f8065f294c5ee8b7ec18d2f429559c
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 42c513c4b2f8065f294c5ee8b7ec18d2f429559c
# 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:79:6: warning: no previous prototype for function 'default_handle_fiq' [-Wmissing-prototypes]
void default_handle_fiq(struct pt_regs *regs)
^
arch/arm64/kernel/irq.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void default_handle_fiq(struct pt_regs *regs)
^
static
arch/arm64/kernel/irq.c:105:13: warning: no previous prototype for function 'init_IRQ' [-Wmissing-prototypes]
void __init init_IRQ(void)
^
arch/arm64/kernel/irq.c:105:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init init_IRQ(void)
^
static
3 warnings generated.
vim +/default_handle_fiq +79 arch/arm64/kernel/irq.c
78
> 79 void default_handle_fiq(struct pt_regs *regs)
80 {
81 panic("FIQ taken without a registered FIQ controller\n");
82 }
83
---
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/483c684e/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list