[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202112011148.XrnWip5a-lkp@intel.com>
Date: Wed, 1 Dec 2021 11:42:29 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Ard Biesheuvel <ardb@...nel.org>
Subject: [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6:
warning: no previous prototype for function 'dc21285_handle_irq'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 6999340fcf7f37e2a82eb35452b08c5893a2872d
commit: 9a2235df531e427be5777a894b3fa355ce127894 [18/28] ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER
config: arm-randconfig-r001-20211130 (https://download.01.org/0day-ci/archive/20211201/202112011148.XrnWip5a-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7fa01d7ebbe67648ea03841cda55b4239ab2)
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/ardb/linux.git/commit/?id=9a2235df531e427be5777a894b3fa355ce127894
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 9a2235df531e427be5777a894b3fa355ce127894
# 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@...el.com>
All warnings (new ones prefixed by >>):
>> arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq' [-Wmissing-prototypes]
void dc21285_handle_irq(struct pt_regs *regs)
^
arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dc21285_handle_irq(struct pt_regs *regs)
^
static
1 warning generated.
vim +/dc21285_handle_irq +102 arch/arm/mach-footbridge/common.c
101
> 102 void dc21285_handle_irq(struct pt_regs *regs)
103 {
104 int irq;
105 do {
106 irq = dc21285_get_irq();
107 if (!irq)
108 break;
109
110 generic_handle_irq(irq);
111 } while (1);
112 }
113
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists