Messages in this thread | | | Date | Sun, 19 Mar 2023 13:42:52 +0800 | From | kernel test robot <> | Subject | drivers/irqchip/irq-ftintc010.c:165:12: warning: no previous prototype for function 'ft010_of_init_irq' |
| |
Hi Nathan,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a3671bd86a9770e34969522d29bb30a1b66fd88a commit: 5eb6e280432ddc9b755193552f3a070da8d7455c ARM: 9289/1: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer date: 7 weeks ago config: arm-moxart_defconfig (https://download.01.org/0day-ci/archive/20230319/202303191313.6WHJJhVD-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5eb6e280432ddc9b755193552f3a070da8d7455c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 5eb6e280432ddc9b755193552f3a070da8d7455c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202303191313.6WHJJhVD-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/irqchip/irq-ftintc010.c:128:39: warning: no previous prototype for function 'ft010_irqchip_handle_irq' [-Wmissing-prototypes] asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) ^ drivers/irqchip/irq-ftintc010.c:128:12: note: declare 'static' if the function is not intended to be used outside of this translation unit asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) ^ static >> drivers/irqchip/irq-ftintc010.c:165:12: warning: no previous prototype for function 'ft010_of_init_irq' [-Wmissing-prototypes] int __init ft010_of_init_irq(struct device_node *node, ^ drivers/irqchip/irq-ftintc010.c:165:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __init ft010_of_init_irq(struct device_node *node, ^ static 2 warnings generated.
vim +/ft010_of_init_irq +165 drivers/irqchip/irq-ftintc010.c
6ee532e2faa997 Linus Walleij 2017-03-18 164 6ee532e2faa997 Linus Walleij 2017-03-18 @165 int __init ft010_of_init_irq(struct device_node *node,
:::::: The code at line 165 was first introduced by commit :::::: 6ee532e2faa9979f0ee00afbfd39cbc034b99153 irqchip/gemini: Refactor Gemini driver to reflect Faraday origin
:::::: TO: Linus Walleij <linus.walleij@linaro.org> :::::: CC: Marc Zyngier <marc.zyngier@arm.com>
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
| |