[soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv'

Arnd Bergmann arnd at arndb.de
Wed Apr 20 04:33:43 PDT 2022


On Wed, Apr 20, 2022 at 6:35 AM kernel test robot <lkp at intel.com> wrote:
>
> 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-pxa_defconfig (https://download.01.org/0day-ci/archive/20220420/202204201249.l1HnSEwz-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/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv' [-Wmissing-prototypes]
>       76 | unsigned int pxa3xx_smemc_get_memclkdiv(void)
>          |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
>

Fixed now, thanks for the report.

       Arnd



More information about the linux-arm-kernel mailing list