arch/arm/mach-imx/pm-imx27.c:40:13: warning: no previous prototype for 'imx27_pm_init'
From: kernel test robot
Date: Sat May 08 2021 - 00:27:30 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd860052c99b1e088352bdd4fb7aef46f8d2ef47
commit: 879c0e5e0ac711603b89b711c7b54213c0c17147 ARM: imx: Remove i.MX27 board files
date: 8 months ago
config: arm-randconfig-r005-20210508 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=879c0e5e0ac711603b89b711c7b54213c0c17147
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 879c0e5e0ac711603b89b711c7b54213c0c17147
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> arch/arm/mach-imx/pm-imx27.c:40:13: warning: no previous prototype for 'imx27_pm_init' [-Wmissing-prototypes]
40 | void __init imx27_pm_init(void)
| ^~~~~~~~~~~~~
vim +/imx27_pm_init +40 arch/arm/mach-imx/pm-imx27.c
f42ae0e9f49963 arch/arm/mach-mx2/pm-imx27.c Eric Bénard 2010-06-01 39
48e076dadd0a79 arch/arm/mach-imx/pm-imx27.c Arnd Bergmann 2016-06-28 @40 void __init imx27_pm_init(void)
:::::: The code at line 40 was first introduced by commit
:::::: 48e076dadd0a79047befa539487d8645ded0b7e7 ARM: imx: rework mx27_pm_init() call
:::::: TO: Arnd Bergmann <arnd@xxxxxxxx>
:::::: CC: Shawn Guo <shawnguo@xxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip