Hi Gabriele,

kernel test robot noticed the following build errors:

[auto build test ERROR on 4dc1d1bec89864d8076e5ab314f86f46442bfb02]

url:    
https://github.com/intel-lab-lkp/linux/commits/Gabriele-Monaco/tracing-Fix-DECLARE_TRACE_CONDITION/20250213-171642
base:   4dc1d1bec89864d8076e5ab314f86f46442bfb02
patch link:    
https://lore.kernel.org/r/20250213090819.419470-4-gmonaco%40redhat.com
patch subject: [PATCH v2 03/11] sched: Add sched tracepoints for RV task model
config: i386-buildonly-randconfig-001-20250214 
(https://download.01.org/0day-ci/archive/20250214/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250214/[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 errors (new ones prefixed by >>):

   kernel/sched/core.c: In function '__do_trace_set_current_state':
>> kernel/sched/core.c:503:9: error: implicit declaration of function 
>> '__do_trace_sched_set_state_tp'; did you mean 'trace_sched_set_state_tp'? 
>> [-Werror=implicit-function-declaration]
     503 |         __do_trace_sched_set_state_tp(current, current->__state, 
state_value);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |         trace_sched_set_state_tp
   cc1: some warnings being treated as errors


vim +503 kernel/sched/core.c

   496  
   497  /*
   498   * Do not call this function directly since it won't check if the tp is 
enabled.
   499   * Call the helper macro trace_set_current_state instead.
   500   */
   501  void __do_trace_set_current_state(int state_value)
   502  {
 > 503          __do_trace_sched_set_state_tp(current, current->__state, 
 > state_value);
   504  }
   505  EXPORT_SYMBOL(__do_trace_set_current_state);
   506  

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

Reply via email to