lkml.org 
[lkml]   [2021]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectarch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for function 's3c2442_init_irq'
Hi Arnd,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ac8c6edd20bcb965b22ceb36752499b3d5cf5dd4
commit: 71b9114d2c13a648fbe6523dd859e611c316ad90 ARM: s3c: move into a common directory
date: 5 months ago
config: arm-randconfig-r004-20210201 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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=71b9114d2c13a648fbe6523dd859e611c316ad90
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 71b9114d2c13a648fbe6523dd859e611c316ad90
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm

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-s3c/irq-s3c24xx.c:360:39: warning: no previous prototype for function 's3c24xx_handle_irq' [-Wmissing-prototypes]
asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs)
^
arch/arm/mach-s3c/irq-s3c24xx.c:360:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs)
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:389:5: warning: no previous prototype for function 's3c24xx_set_fiq' [-Wmissing-prototypes]
int s3c24xx_set_fiq(unsigned int irq, u32 *ack_ptr, bool on)
^
arch/arm/mach-s3c/irq-s3c24xx.c:389:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int s3c24xx_set_fiq(unsigned int irq, u32 *ack_ptr, bool on)
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: no previous prototype for function 's3c2410_init_irq' [-Wmissing-prototypes]
void __init s3c2410_init_irq(void)
^
arch/arm/mach-s3c/irq-s3c24xx.c:683:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init s3c2410_init_irq(void)
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:882:13: warning: no previous prototype for function 's3c2416_init_irq' [-Wmissing-prototypes]
void __init s3c2416_init_irq(void)
^
arch/arm/mach-s3c/irq-s3c24xx.c:882:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init s3c2416_init_irq(void)
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:961:13: warning: no previous prototype for function 's3c2440_init_irq' [-Wmissing-prototypes]
void __init s3c2440_init_irq(void)
^
arch/arm/mach-s3c/irq-s3c24xx.c:961:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init s3c2440_init_irq(void)
^
static
>> arch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for function 's3c2442_init_irq' [-Wmissing-prototypes]
void __init s3c2442_init_irq(void)
^
arch/arm/mach-s3c/irq-s3c24xx.c:1034:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init s3c2442_init_irq(void)
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:1308:12: warning: no previous prototype for function 's3c2410_init_intc_of' [-Wmissing-prototypes]
int __init s3c2410_init_intc_of(struct device_node *np,
^
arch/arm/mach-s3c/irq-s3c24xx.c:1308:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init s3c2410_init_intc_of(struct device_node *np,
^
static
arch/arm/mach-s3c/irq-s3c24xx.c:1330:12: warning: no previous prototype for function 's3c2416_init_intc_of' [-Wmissing-prototypes]
int __init s3c2416_init_intc_of(struct device_node *np,
^
arch/arm/mach-s3c/irq-s3c24xx.c:1330:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init s3c2416_init_intc_of(struct device_node *np,
^
static
8 warnings generated.


vim +/s3c2442_init_irq +1034 arch/arm/mach-s3c/irq-s3c24xx.c

6f8d7ea275eb2a arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-02-12 1033
70644ade48ae88 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-02-12 @1034 void __init s3c2442_init_irq(void)
70644ade48ae88 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-02-12 1035 {
70644ade48ae88 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-02-12 1036 pr_info("S3C2442: IRQ Support\n");
6f8d7ea275eb2a arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-02-12 1037

:::::: The code at line 1034 was first introduced by commit
:::::: 70644ade48ae88f88f4935c4d2f3331c3ef177a1 ARM: S3C24XX: transform s3c2442 irqs into new structure

:::::: TO: Heiko Stuebner <heiko@sntech.de>
:::::: CC: Kukjin Kim <kgene.kim@samsung.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-02-01 00:01    [W:0.021 / U:3.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site