[arm:sa1100 21/56] arch/arm/mach-sa1100/clock.c:92:12: warning: no previous prototype for function 'sa11xx_clk_init'

kernel test robot lkp at intel.com
Mon Feb 22 14:05:49 EST 2021


tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head:   e3f76e4464159c6b46b146e95c900330f6b3b940
commit: 90e061f6db7d7b43ffdc7b19153154c069b35ef3 [21/56] ARM: sa1100: switch to accurate MPLL calculation
config: arm-randconfig-r036-20210222 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm sa1100
        git checkout 90e061f6db7d7b43ffdc7b19153154c069b35ef3
        # 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 at intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm/mach-sa1100/clock.c:92:12: warning: no previous prototype for function 'sa11xx_clk_init' [-Wmissing-prototypes]
   int __init sa11xx_clk_init(void)
              ^
   arch/arm/mach-sa1100/clock.c:92:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __init sa11xx_clk_init(void)
   ^
   static 
   1 warning generated.


vim +/sa11xx_clk_init +92 arch/arm/mach-sa1100/clock.c

97d654f8eb4b8f Russell King 2006-03-15  91  
d6c8204659eb18 Russell King 2016-08-31 @92  int __init sa11xx_clk_init(void)

:::::: The code at line 92 was first introduced by commit
:::::: d6c8204659eb1846c444997ee28fe9d7e5442f4e ARM: sa1100: convert to common clock framework

:::::: TO: Russell King <rmk+kernel at armlinux.org.uk>
:::::: CC: Russell King <rmk+kernel at armlinux.org.uk>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 20595 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210223/f03c74f2/attachment-0001.gz>


More information about the linux-arm-kernel mailing list