Hi Xu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Xu-Kuohai/Add-ftrace-direct-call-for-arm64/20220913-142654 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: mips-allyesconfig compiler: mips-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://github.com/intel-lab-lkp/linux/commit/221b091bce215aac53296079222741e6568a23e0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Xu-Kuohai/Add-ftrace-direct-call-for-arm64/20220913-142654 git checkout 221b091bce215aac53296079222741e6568a23e0 # 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=mips SHELL=/bin/bash kernel/trace/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/trace/ftrace.c:299:5: warning: no previous prototype for '__register_ftrace_function' [-Wmissing-prototypes] 299 | int __register_ftrace_function(struct ftrace_ops *ops) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:342:5: warning: no previous prototype for '__unregister_ftrace_function' [-Wmissing-prototypes] 342 | int __unregister_ftrace_function(struct ftrace_ops *ops) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/ftrace.c:3999:15: warning: no previous prototype for 'arch_ftrace_match_adjust' [-Wmissing-prototypes] 3999 | char * __weak arch_ftrace_match_adjust(char *str, const char *search) | ^~~~~~~~~~~~~~~~~~~~~~~~ >> kernel/trace/ftrace.c:6632:20: warning: no previous prototype for 'ftrace_rec_arch_init' [-Wmissing-prototypes] 6632 | void __init __weak ftrace_rec_arch_init(struct dyn_ftrace *rec, | ^~~~~~~~~~~~~~~~~~~~ vim +/ftrace_rec_arch_init +6632 kernel/trace/ftrace.c 6631 > 6632 void __init __weak ftrace_rec_arch_init(struct dyn_ftrace *rec, 6633 unsigned long addr) 6634 { 6635 } 6636 -- 0-DAY CI Kernel Test Service https://01.org/lkp