arch/arm/mach-imx/pm-imx25.c:31:13: warning: no previous prototype for 'imx25_pm_init'

From: kernel test robot
Date: Thu Jun 22 2023 - 13:55:09 EST


Hi Arnd,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dad9774deaf1cf8e8f7483310dfb2690310193d2
commit: 250c1a694ff304e5d69e74ab32755eddcc2b8f65 ARM: pxa: convert to multiplatform
date: 1 year, 2 months ago
config: arm-randconfig-r034-20230622 (https://download.01.org/0day-ci/archive/20230623/202306230159.SlgPEfcA-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230623/202306230159.SlgPEfcA-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306230159.SlgPEfcA-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/arm/mach-imx/pm-imx25.c:31:13: warning: no previous prototype for 'imx25_pm_init' [-Wmissing-prototypes]
31 | void __init imx25_pm_init(void)
| ^~~~~~~~~~~~~
--
>> arch/arm/mach-imx/cpu-imx25.c:40:5: warning: no previous prototype for 'mx25_revision' [-Wmissing-prototypes]
40 | int mx25_revision(void)
| ^~~~~~~~~~~~~
--
>> arch/arm/mm/copypage-feroceon.c:65:6: warning: no previous prototype for 'feroceon_copy_user_highpage' [-Wmissing-prototypes]
65 | void feroceon_copy_user_highpage(struct page *to, struct page *from,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mm/copypage-feroceon.c:78:6: warning: no previous prototype for 'feroceon_clear_user_highpage' [-Wmissing-prototypes]
78 | void feroceon_clear_user_highpage(struct page *page, unsigned long vaddr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/imx25_pm_init +31 arch/arm/mach-imx/pm-imx25.c

8c4300c227ffff Fabio Estevam 2016-02-02 30
8c4300c227ffff Fabio Estevam 2016-02-02 @31 void __init imx25_pm_init(void)

:::::: The code at line 31 was first introduced by commit
:::::: 8c4300c227ffffc4db26b6bb3e0271de7ddbd289 ARM: mx25: Add basic suspend/resume support

:::::: TO: Fabio Estevam <fabio.estevam@xxxxxxx>
:::::: CC: Shawn Guo <shawnguo@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki