[soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/pxa2xx.c:58:5: warning: no previous prototype for 'pxa2xx_smemc_get_sdram_rows'

kernel test robot lkp at intel.com
Tue Apr 19 23:06:55 PDT 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git pxa-multiplatform-5.18
head:   faeb13a8cc88ff47971ffd2b2af3d14bc0b351be
commit: 71cd82cc6d1b6e92a352668bfe24d78d34e6dd03 [37/48] ARM: pxa: move smemc register access from clk to platform
config: arm-corgi_defconfig (https://download.01.org/0day-ci/archive/20220420/202204201338.poJP66ow-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=71cd82cc6d1b6e92a352668bfe24d78d34e6dd03
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc pxa-multiplatform-5.18
        git checkout 71cd82cc6d1b6e92a352668bfe24d78d34e6dd03
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 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-pxa/pxa2xx.c:21:6: warning: no previous prototype for 'pxa2xx_clear_reset_status' [-Wmissing-prototypes]
      21 | void pxa2xx_clear_reset_status(unsigned int mask)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-pxa/pxa2xx.c:58:5: warning: no previous prototype for 'pxa2xx_smemc_get_sdram_rows' [-Wmissing-prototypes]
      58 | int pxa2xx_smemc_get_sdram_rows(void)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/pxa2xx_smemc_get_sdram_rows +58 arch/arm/mach-pxa/pxa2xx.c

    57	
  > 58	int pxa2xx_smemc_get_sdram_rows(void)

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



More information about the linux-arm-kernel mailing list