[soc:multiplatform-misc-5.18 1/13] arch/arm/mach-versatile/integrator_ap.c:148:13: warning: no previous prototype for 'ap_init_early'

kernel test robot lkp at intel.com
Tue Apr 5 08:17:42 PDT 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git multiplatform-misc-5.18
head:   a2677c00b0f03b8cad961f785941ca257f454df3
commit: d7445676e86900f8dc363825033ff62416c216e0 [1/13] ARM: versatile: move integrator/realview/vexpress to versatile
config: arm-multi_v4t_defconfig (https://download.01.org/0day-ci/archive/20220405/202204052319.JVin31Qk-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=d7445676e86900f8dc363825033ff62416c216e0
        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 d7445676e86900f8dc363825033ff62416c216e0
        # 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-versatile/integrator_ap.c:148:13: warning: no previous prototype for 'ap_init_early' [-Wmissing-prototypes]
     148 | void __init ap_init_early(void)
         |             ^~~~~~~~~~~~~


vim +/ap_init_early +148 arch/arm/mach-versatile/integrator_ap.c

379df2793efdca1 arch/arm/mach-integrator/integrator_ap.c Linus Walleij 2012-11-17  147  
a613163dff04cbf arch/arm/mach-integrator/integrator_ap.c Linus Walleij 2012-06-11 @148  void __init ap_init_early(void)
a613163dff04cbf arch/arm/mach-integrator/integrator_ap.c Linus Walleij 2012-06-11  149  {
a613163dff04cbf arch/arm/mach-integrator/integrator_ap.c Linus Walleij 2012-06-11  150  }
a613163dff04cbf arch/arm/mach-integrator/integrator_ap.c Linus Walleij 2012-06-11  151  

:::::: The code at line 148 was first introduced by commit
:::::: a613163dff04cbfcb7d66b06ef4a5f65498ee59b ARM: integrator: convert to common clock

:::::: TO: Linus Walleij <linus.walleij at linaro.org>
:::::: CC: Mike Turquette <mturquette at linaro.org>

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



More information about the linux-arm-kernel mailing list