* arch/arm/mach-sa1100/pm.c:122:12: warning: no previous prototype for function 'sa11x0_pm_init'
@ 2023-09-29 20:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-29 20:07 UTC (permalink / raw)
To: Nathan Chancellor
Cc: llvm, oe-kbuild-all, linux-kernel, Russell King (Oracle)
Hi Nathan,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1c84724ccb1a9f6eaf727ded49dd7e22ac62cc5b
commit: 5eb6e280432ddc9b755193552f3a070da8d7455c ARM: 9289/1: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer
date: 8 months ago
config: arm-collie_defconfig (https://download.01.org/0day-ci/archive/20230930/202309300341.lmOXFhDS-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230930/202309300341.lmOXFhDS-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309300341.lmOXFhDS-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm/mach-sa1100/pm.c:122:12: warning: no previous prototype for function 'sa11x0_pm_init' [-Wmissing-prototypes]
122 | int __init sa11x0_pm_init(void)
| ^
arch/arm/mach-sa1100/pm.c:122:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
122 | int __init sa11x0_pm_init(void)
| ^
| static
1 warning generated.
--
>> drivers/gpio/gpio-sa1100.c:309:13: warning: no previous prototype for function 'sa1100_init_gpio' [-Wmissing-prototypes]
309 | void __init sa1100_init_gpio(void)
| ^
drivers/gpio/gpio-sa1100.c:309:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
309 | void __init sa1100_init_gpio(void)
| ^
| static
1 warning generated.
--
>> drivers/pcmcia/pxa2xx_sharpsl.c:206:5: warning: no previous prototype for function 'pcmcia_collie_init' [-Wmissing-prototypes]
206 | int pcmcia_collie_init(struct device *dev)
| ^
drivers/pcmcia/pxa2xx_sharpsl.c:206:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
206 | int pcmcia_collie_init(struct device *dev)
| ^
| static
1 warning generated.
--
>> drivers/video/fbdev/sa1100fb.c:1219:12: warning: no previous prototype for function 'sa1100fb_init' [-Wmissing-prototypes]
1219 | int __init sa1100fb_init(void)
| ^
drivers/video/fbdev/sa1100fb.c:1219:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1219 | int __init sa1100fb_init(void)
| ^
| static
1 warning generated.
vim +/sa11x0_pm_init +122 arch/arm/mach-sa1100/pm.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 121
7fea1ba58e61c1 Shawn Guo 2012-04-26 @122 int __init sa11x0_pm_init(void)
:::::: The code at line 122 was first introduced by commit
:::::: 7fea1ba58e61c17fb59dfc50c408945f307addc6 ARM: sa1100: use machine specific hook for late init
:::::: TO: Shawn Guo <shawn.guo@linaro.org>
:::::: CC: Shawn Guo <shawn.guo@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-29 20:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 20:07 arch/arm/mach-sa1100/pm.c:122:12: warning: no previous prototype for function 'sa11x0_pm_init' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox