* [linux-next:master 5982/10104] arch/s390/kernel/rethook.c:26:15: warning: no previous prototype for 'arch_rethook_trampoline_callback'
@ 2023-02-02 17:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-02 17:45 UTC (permalink / raw)
To: Vasily Gorbik; +Cc: oe-kbuild-all, Linux Memory Management List, Heiko Carstens
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ea4dabbb4ad7eb52632a2ca0b8f89f0ea7c55dcf
commit: 1a280f48c0e403903cf0b4231c95b948e664f25a [5982/10104] s390/kprobes: replace kretprobe with rethook
config: s390-randconfig-r011-20230202 (https://download.01.org/0day-ci/archive/20230203/202302030102.69dZIuJk-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 12.1.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/next/linux-next.git/commit/?id=1a280f48c0e403903cf0b4231c95b948e664f25a
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 1a280f48c0e403903cf0b4231c95b948e664f25a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):
>> arch/s390/kernel/rethook.c:26:15: warning: no previous prototype for 'arch_rethook_trampoline_callback' [-Wmissing-prototypes]
26 | unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/arch_rethook_trampoline_callback +26 arch/s390/kernel/rethook.c
22
23 /*
24 * Called from arch_rethook_trampoline
25 */
> 26 unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs)
27 {
28 return rethook_trampoline_handler(regs, regs->gprs[15]);
29 }
30 NOKPROBE_SYMBOL(arch_rethook_trampoline_callback);
31
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-02 17:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02 17:45 [linux-next:master 5982/10104] arch/s390/kernel/rethook.c:26:15: warning: no previous prototype for 'arch_rethook_trampoline_callback' 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