All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* arch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for function 's3c2442_init_irq'
@ 2021-01-31 22:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-31 22:59 UTC (permalink / raw
  To: Arnd Bergmann
  Cc: kbuild-all, clang-built-linux, linux-kernel, Krzysztof Kozlowski

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

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* arch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for function 's3c2442_init_irq'
@ 2021-01-31 22:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-31 22:59 UTC (permalink / raw
  To: kbuild-all

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

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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-31 23:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-31 22:59 arch/arm/mach-s3c/irq-s3c24xx.c:1034:13: warning: no previous prototype for function 's3c2442_init_irq' kernel test robot
2021-01-31 22:59 ` kernel test robot

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.