From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Ard Biesheuvel <ardb@kernel.org>
Subject: [linux-next:master 4461/9897] arch/arm/mach-iop32x/irq.c:62:6: warning: no previous prototype for function 'iop_handle_irq'
Date: Sun, 2 Jan 2022 06:57:57 +0800 [thread overview]
Message-ID: <202201020627.cJMyevvZ-lkp@intel.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 4461/9897] arch/arm/mach-iop32x/irq.c:62:6: warning: no previous prototype for function 'iop_handle_irq'
Date: Sun, 02 Jan 2022 06:57:57 +0800 [thread overview]
Message-ID: <202201020627.cJMyevvZ-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3091 bytes --]
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(a)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(a)lists.01.org
next reply other threads:[~2022-01-01 22:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-01 22:57 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201020627.cJMyevvZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.