linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: no previous prototype for 's3c2410_init_irq'
@ 2021-02-20 22:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-20 22:59 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel, Krzysztof Kozlowski

[-- Attachment #1: Type: text/plain, Size: 4920 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f40ddce88593482919761f74910f42f4b84c004b
commit: 71b9114d2c13a648fbe6523dd859e611c316ad90 ARM: s3c: move into a common directory
date:   6 months ago
config: arm-randconfig-r034-20210221 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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-9.3.0 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 '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:683:13: warning: no previous prototype for 's3c2410_init_irq' [-Wmissing-prototypes]
     683 | void __init s3c2410_init_irq(void)
         |             ^~~~~~~~~~~~~~~~
   arch/arm/mach-s3c/irq-s3c24xx.c:961:13: warning: no previous prototype for 's3c2440_init_irq' [-Wmissing-prototypes]
     961 | void __init s3c2440_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: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,
         |            ^~~~~~~~~~~~~~~~~~~~


vim +/s3c2410_init_irq +683 arch/arm/mach-s3c/irq-s3c24xx.c

a21765a70ec06b arch/arm/plat-s3c24xx/irq.c   Ben Dooks      2007-02-11  682  
f182aa1dfa6283 arch/arm/mach-s3c24xx/irq.c   Heiko Stuebner 2013-03-07 @683  void __init s3c2410_init_irq(void)
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  684  {
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  685  #ifdef CONFIG_FIQ
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  686  	init_FIQ(FIQ_START);
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  687  #endif
a21765a70ec06b arch/arm/plat-s3c24xx/irq.c   Ben Dooks      2007-02-11  688  
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  689  	s3c_intc[0] = s3c24xx_init_intc(NULL, &init_s3c2410base[0], NULL,
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  690  					0x4a000000);
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  691  	if (IS_ERR(s3c_intc[0])) {
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  692  		pr_err("irq: could not create main interrupt controller\n");
1f629b7a3ced8e arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  693  		return;
a21765a70ec06b arch/arm/plat-s3c24xx/irq.c   Ben Dooks      2007-02-11  694  	}
a21765a70ec06b arch/arm/plat-s3c24xx/irq.c   Ben Dooks      2007-02-11  695  
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  696  	s3c_intc[1] = s3c24xx_init_intc(NULL, &init_s3c2410subint[0],
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  697  					s3c_intc[0], 0x4a000018);
658dc8fb9cbc77 drivers/irqchip/irq-s3c24xx.c Heiko Stuebner 2013-04-04  698  	s3c24xx_init_intc(NULL, &init_eint[0], s3c_intc[0], 0x560000a4);
a21765a70ec06b arch/arm/plat-s3c24xx/irq.c   Ben Dooks      2007-02-11  699  }
f182aa1dfa6283 arch/arm/mach-s3c24xx/irq.c   Heiko Stuebner 2013-03-07  700  #endif
ef602eb53c8410 arch/arm/plat-s3c24xx/irq.c   Heiko Stuebner 2013-01-29  701  

:::::: The code at line 683 was first introduced by commit
:::::: f182aa1dfa6283a1193308c4917aef4a7a982b8c ARM: S3C24XX: move s3c24xx_init_irq to s3c2410_init_irq

:::::: 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34791 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-20 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 22:59 arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: no previous prototype for 's3c2410_init_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;
as well as URLs for NNTP newsgroup(s).