arch/arm/mach-s3c/irq-s3c24xx.c:360:39: warning: no previous prototype for 's3c24xx_handle_irq'
From: kernel test robot
Date: Fri Nov 12 2021 - 22:41:51 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: 71b9114d2c13a648fbe6523dd859e611c316ad90 ARM: s3c: move into a common directory
date: 1 year, 3 months ago
config: arm-randconfig-r012-20211104 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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
# 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=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> arch/arm/mach-s3c/irq-s3c24xx.c:360:39: warning: no previous prototype for 's3c24xx_handle_irq' [-Wmissing-prototypes]
360 | asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~
>> arch/arm/mach-s3c/irq-s3c24xx.c:783:13: warning: no previous prototype for 's3c2412_init_irq' [-Wmissing-prototypes]
783 | void __init s3c2412_init_irq(void)
| ^~~~~~~~~~~~~~~~
>> arch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for 's3c2442_init_irq' [-Wmissing-prototypes]
1034 | void __init s3c2442_init_irq(void)
| ^~~~~~~~~~~~~~~~
>> arch/arm/mach-s3c/irq-s3c24xx.c:1124:13: warning: no previous prototype for 's3c2443_init_irq' [-Wmissing-prototypes]
1124 | void __init s3c2443_init_irq(void)
| ^~~~~~~~~~~~~~~~
>> arch/arm/mach-s3c/irq-s3c24xx.c:1308:12: warning: no previous prototype for 's3c2410_init_intc_of' [-Wmissing-prototypes]
1308 | int __init s3c2410_init_intc_of(struct device_node *np,
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-s3c/irq-s3c24xx.c:1330:12: warning: no previous prototype for 's3c2416_init_intc_of' [-Wmissing-prototypes]
1330 | int __init s3c2416_init_intc_of(struct device_node *np,
| ^~~~~~~~~~~~~~~~~~~~
--
>> arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning: no previous prototype for 's3c2410_modify_misccr' [-Wmissing-prototypes]
1309 | unsigned int s3c2410_modify_misccr(unsigned int clear, unsigned int change)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/s3c24xx_handle_irq +360 arch/arm/mach-s3c/irq-s3c24xx.c
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 359
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 @360 asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs)
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 361 {
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 362 do {
658dc8fb9cbc771 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04 363 if (likely(s3c_intc[0]))
f0774d41da0e607 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04 364 if (s3c24xx_handle_intc(s3c_intc[0], regs, 0))
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 365 continue;
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 366
658dc8fb9cbc771 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04 367 if (s3c_intc[2])
f0774d41da0e607 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04 368 if (s3c24xx_handle_intc(s3c_intc[2], regs, 64))
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 369 continue;
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 370
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 371 break;
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 372 } while (1);
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 373 }
17453dd2e7df206 arch/arm/mach-s3c24xx/irq.c Heiko Stuebner 2013-03-07 374
:::::: The code at line 360 was first introduced by commit
:::::: 17453dd2e7df20612770ebbf1ab5d506a432210c ARM: S3C24XX: add handle_irq function
:::::: TO: Heiko Stuebner <heiko@xxxxxxxxx>
:::::: CC: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip