lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202102010637.eJo9Qhpl-lkp@intel.com>
Date:   Mon, 1 Feb 2021 06:59:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzk@...nel.org>
Subject: arch/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@...el.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@...ech.de>
:::::: CC: Kukjin Kim <kgene.kim@...sung.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (26226 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ