Hi Menglong,

kernel test robot noticed the following build warnings:

[auto build test WARNING on trace/for-next]
[also build test WARNING on next-20251031]
[cannot apply to linus/master v6.18-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/tracing-fprobe-use-ftrace-if-CONFIG_DYNAMIC_FTRACE_WITH_ARGS/20251031-104301
base:   https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace 
for-next
patch link:    
https://lore.kernel.org/r/20251031024038.19176-1-dongml2%40chinatelecom.cn
patch subject: [PATCH v2] tracing: fprobe: use ftrace if 
CONFIG_DYNAMIC_FTRACE_WITH_ARGS
config: loongarch-randconfig-002-20251102 
(https://download.01.org/0day-ci/archive/20251102/[email protected]/config)
compiler: loongarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251102/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> kernel/trace/fprobe.c:340:13: warning: 'fprobe_set_ips' defined but not used 
>> [-Wunused-function]
     340 | static void fprobe_set_ips(unsigned long *ips, unsigned int cnt, int 
remove,
         |             ^~~~~~~~~~~~~~


vim +/fprobe_set_ips +340 kernel/trace/fprobe.c

   339  
 > 340  static void fprobe_set_ips(unsigned long *ips, unsigned int cnt, int 
 > remove,
   341                             int reset)
   342  {
   343          ftrace_set_filter_ips(&fprobe_graph_ops.ops, ips, cnt, remove, 
reset);
   344          ftrace_set_filter_ips(&fprobe_ftrace_ops, ips, cnt, remove, 
reset);
   345  }
   346  #else
   347  static int fprobe_ftrace_add_ips(unsigned long *addrs, int num)
   348  {
   349          return -ENOENT;
   350  }
   351  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to