* [linux-next:master 2105/11360] arch/arm/mach-omap1/serial.c:236:12: warning: no previous prototype for function 'omap_serial_wakeup_init'
@ 2022-05-13 5:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-13 5:42 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: llvm, kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 187b9ac8c348383f7f36c8413d73ad89e9b1e90a
commit: 8c1fb11b8a77dc489a8ef6d96c38c1297b629d06 [2105/11360] ARM: s3c: enable s3c24xx multiplatform support
config: arm-buildonly-randconfig-r004-20220512 (https://download.01.org/0day-ci/archive/20220513/202205131303.oqcXJ1Rl-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8c1fb11b8a77dc489a8ef6d96c38c1297b629d06
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 8c1fb11b8a77dc489a8ef6d96c38c1297b629d06
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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-omap1/serial.c:236:12: warning: no previous prototype for function 'omap_serial_wakeup_init' [-Wmissing-prototypes]
int __init omap_serial_wakeup_init(void)
^
arch/arm/mach-omap1/serial.c:236:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init omap_serial_wakeup_init(void)
^
static
1 warning generated.
vim +/omap_serial_wakeup_init +236 arch/arm/mach-omap1/serial.c
7c38cf021b42a4 Tony Lindgren 2005-09-08 235
82c3bd03535f15 Shawn Guo 2012-04-26 @236 int __init omap_serial_wakeup_init(void)
7c38cf021b42a4 Tony Lindgren 2005-09-08 237 {
7c38cf021b42a4 Tony Lindgren 2005-09-08 238 if (!cpu_is_omap16xx())
7c38cf021b42a4 Tony Lindgren 2005-09-08 239 return 0;
7c38cf021b42a4 Tony Lindgren 2005-09-08 240
7c38cf021b42a4 Tony Lindgren 2005-09-08 241 if (uart1_ck != NULL)
7c38cf021b42a4 Tony Lindgren 2005-09-08 242 omap_serial_set_port_wakeup(37);
7c38cf021b42a4 Tony Lindgren 2005-09-08 243 if (uart2_ck != NULL)
7c38cf021b42a4 Tony Lindgren 2005-09-08 244 omap_serial_set_port_wakeup(18);
7c38cf021b42a4 Tony Lindgren 2005-09-08 245 if (uart3_ck != NULL)
7c38cf021b42a4 Tony Lindgren 2005-09-08 246 omap_serial_set_port_wakeup(49);
7c38cf021b42a4 Tony Lindgren 2005-09-08 247
7c38cf021b42a4 Tony Lindgren 2005-09-08 248 return 0;
7c38cf021b42a4 Tony Lindgren 2005-09-08 249 }
7c38cf021b42a4 Tony Lindgren 2005-09-08 250
:::::: The code at line 236 was first introduced by commit
:::::: 82c3bd03535f1571426fdd19b7d832f76b7ac85e ARM: omap1: 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://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-13 5:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 5:42 [linux-next:master 2105/11360] arch/arm/mach-omap1/serial.c:236:12: warning: no previous prototype for function 'omap_serial_wakeup_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