* [ammarfaizi2-block:rostedt/linux-trace/ftrace/core 53/57] arch/arm64/kernel/probes/rethook.c:11:22: warning: no previous prototype for function 'arch_rethook_trampoline_callback'
@ 2022-03-19 2:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-19 2:17 UTC (permalink / raw)
To: Masami Hiramatsu
Cc: llvm, kbuild-all, GNU/Weeb Mailing List, linux-kernel,
Steven Rostedt (Google)
tree: https://github.com/ammarfaizi2/linux-block rostedt/linux-trace/ftrace/core
head: 03cd03b5c3f9836e625a99fa603b4683dc1ebb47
commit: 6b142311f91040c847702773bdf441afdc658984 [53/57] fprobe: Add exit_handler support
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220319/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6e70e4056dff962ec634c5bd4f2f4105a0bef71)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/ammarfaizi2/linux-block/commit/6b142311f91040c847702773bdf441afdc658984
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block rostedt/linux-trace/ftrace/core
git checkout 6b142311f91040c847702773bdf441afdc658984
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/probes/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/probes/rethook.c:11:22: warning: no previous prototype for function 'arch_rethook_trampoline_callback' [-Wmissing-prototypes]
unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs)
^
arch/arm64/kernel/probes/rethook.c:11:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs)
^
static
1 warning generated.
vim +/arch_rethook_trampoline_callback +11 arch/arm64/kernel/probes/rethook.c
371ce29069762d9 Masami Hiramatsu 2022-03-15 9
371ce29069762d9 Masami Hiramatsu 2022-03-15 10 /* This is called from arch_rethook_trampoline() */
371ce29069762d9 Masami Hiramatsu 2022-03-15 @11 unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs)
371ce29069762d9 Masami Hiramatsu 2022-03-15 12 {
371ce29069762d9 Masami Hiramatsu 2022-03-15 13 return rethook_trampoline_handler(regs, regs->regs[29]);
371ce29069762d9 Masami Hiramatsu 2022-03-15 14 }
371ce29069762d9 Masami Hiramatsu 2022-03-15 15 NOKPROBE_SYMBOL(arch_rethook_trampoline_callback);
371ce29069762d9 Masami Hiramatsu 2022-03-15 16
:::::: The code at line 11 was first introduced by commit
:::::: 371ce29069762d992f8dcaa9ecabb6ff78a73f22 arm64: rethook: Add arm64 rethook implementation
:::::: TO: Masami Hiramatsu <[email protected]>
:::::: CC: Steven Rostedt (Google) <[email protected]>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/[email protected]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-19 2:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-19 2:17 [ammarfaizi2-block:rostedt/linux-trace/ftrace/core 53/57] arch/arm64/kernel/probes/rethook.c:11:22: warning: no previous prototype for function '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