linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv'
@ 2022-04-20  4:35 kernel test robot
  2022-04-20 11:33 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-04-20  4:35 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-arm-kernel, arm

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@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)
         |              ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/pxa3xx_smemc_get_memclkdiv +76 arch/arm/mach-pxa/smemc.c

    74	
    75	static const unsigned int df_clkdiv[4] = { 1, 2, 4, 1 };
  > 76	unsigned int pxa3xx_smemc_get_memclkdiv(void)

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv'
  2022-04-20  4:35 [soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv' kernel test robot
@ 2022-04-20 11:33 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2022-04-20 11:33 UTC (permalink / raw)
  To: kernel test robot; +Cc: Arnd Bergmann, kbuild-all, Linux ARM, arm-soc

On Wed, Apr 20, 2022 at 6:35 AM kernel test robot <lkp@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@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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-20 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20  4:35 [soc:pxa-multiplatform-5.18 37/48] arch/arm/mach-pxa/smemc.c:76:14: warning: no previous prototype for 'pxa3xx_smemc_get_memclkdiv' kernel test robot
2022-04-20 11:33 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).