[soc:multiplatform-misc-5.18 12/13] arch/arm/mach-orion/board-d2net.c:102:13: warning: no previous prototype for 'd2net_init'

kernel test robot lkp at intel.com
Tue Apr 5 05:19:18 PDT 2022


Hi Arnd,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git multiplatform-misc-5.18
head:   a2677c00b0f03b8cad961f785941ca257f454df3
commit: 4e61a655e496f6225a146264a3dbc94c790870a6 [12/13] ARM: orion/mv78xx0/dove: move to a common directory
config: arm-buildonly-randconfig-r003-20220405 (https://download.01.org/0day-ci/archive/20220405/202204052007.GRvZswhD-lkp@intel.com/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/soc/soc.git/commit/?id=4e61a655e496f6225a146264a3dbc94c790870a6
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc multiplatform-misc-5.18
        git checkout 4e61a655e496f6225a146264a3dbc94c790870a6
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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-orion/board-d2net.c:102:13: warning: no previous prototype for 'd2net_init' [-Wmissing-prototypes]
     102 | void __init d2net_init(void)
         |             ^~~~~~~~~~


vim +/d2net_init +102 arch/arm/mach-orion/board-d2net.c

94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   97  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   98  /*****************************************************************************
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   99   * General Setup
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  100   ****************************************************************************/
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  101  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22 @102  void __init d2net_init(void)

:::::: The code at line 102 was first introduced by commit
:::::: 94b0bd366e36379c994bdaa84f18355702212eb4 ARM: orion5x: convert d2net to Device Tree

:::::: TO: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
:::::: CC: Jason Cooper <jason at lakedaemon.net>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list