* [linux-next:master 4461/9897] arch/arm/mach-iop32x/irq.c:62:6: warning: no previous prototype for function 'iop_handle_irq'
@ 2022-01-01 22:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-01 22:57 UTC (permalink / raw)
To: Arnd Bergmann
Cc: llvm, kbuild-all, Linux Memory Management List, Ard Biesheuvel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ea586a076e8aa606c59b66d86660590f18354b11
commit: 6f5d248d05db9c4991366154f1a657a630faa583 [4461/9897] ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER
config: arm-randconfig-r031-20220101 (https://download.01.org/0day-ci/archive/20220102/202201020627.cJMyevvZ-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c054402170cd8466683a20385befc0523aba3359)
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/next/linux-next.git/commit/?id=6f5d248d05db9c4991366154f1a657a630faa583
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 6f5d248d05db9c4991366154f1a657a630faa583
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
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/arm/mach-iop32x/irq.c:62:6: warning: no previous prototype for function 'iop_handle_irq' [-Wmissing-prototypes]
void iop_handle_irq(struct pt_regs *regs)
^
arch/arm/mach-iop32x/irq.c:62:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void iop_handle_irq(struct pt_regs *regs)
^
static
1 warning generated.
--
>> arch/arm/mach-iop32x/cp6.c:10:6: warning: no previous prototype for function 'iop_enable_cp6' [-Wmissing-prototypes]
void iop_enable_cp6(void)
^
arch/arm/mach-iop32x/cp6.c:10:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void iop_enable_cp6(void)
^
static
arch/arm/mach-iop32x/cp6.c:43:13: warning: no previous prototype for function 'iop_init_cp6_handler' [-Wmissing-prototypes]
void __init iop_init_cp6_handler(void)
^
arch/arm/mach-iop32x/cp6.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init iop_init_cp6_handler(void)
^
static
2 warnings generated.
vim +/iop_handle_irq +62 arch/arm/mach-iop32x/irq.c
61
> 62 void iop_handle_irq(struct pt_regs *regs)
63 {
64 u32 mask;
65
66 iop_enable_cp6();
67
68 do {
69 mask = iintsrc_read();
70 if (mask)
71 generic_handle_irq(fls(mask));
72 } while (mask);
73 }
74
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-01 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 22:57 [linux-next:master 4461/9897] arch/arm/mach-iop32x/irq.c:62:6: warning: no previous prototype for function 'iop_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