* [glemco:staging_rv_bpf_monitors 20/29] kernel/trace/rv/rv_bpf.c:126:38: error: implicit declaration of function 'get_monitor_mdef_by_name'
@ 2026-03-06 4:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-06 4:46 UTC (permalink / raw)
To: Gabriele Monaco; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gmonaco/linux.git staging_rv_bpf_monitors
head: 3a153b8189ae2fb3a1e680f5092df636abbdac56
commit: 5c96c9aebafa7460b9d4335f84f4f643747750d8 [20/29] rv: Add reactors support to BPF monitors
config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20260306/202603061228.fbMtrfDi-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260306/202603061228.fbMtrfDi-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603061228.fbMtrfDi-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/trace/rv/rv_bpf.c: In function 'bpf_rv_react':
>> kernel/trace/rv/rv_bpf.c:126:38: error: implicit declaration of function 'get_monitor_mdef_by_name' [-Wimplicit-function-declaration]
126 | struct rv_monitor *monitor = get_monitor_mdef_by_name(name__str);
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/rv/rv_bpf.c:126:38: error: initialization of 'struct rv_monitor *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
vim +/get_monitor_mdef_by_name +126 kernel/trace/rv/rv_bpf.c
115
116 /**
117 * bpf_rv_react - trigger a reactor from BPF
118 * @name: monitor name
119 * @msg: pre-formatted message string
120 *
121 * This kfunc allows BPF monitors to trigger reactors with a message.
122 * The message should be pre-formatted by the BPF program using bpf_snprintf.
123 */
124 __bpf_kfunc void bpf_rv_react(char *name__str, char *msg)
125 {
> 126 struct rv_monitor *monitor = get_monitor_mdef_by_name(name__str);
127
128 if (monitor)
129 rv_react(monitor, "%s", msg);
130 }
131
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-06 4:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 4:46 [glemco:staging_rv_bpf_monitors 20/29] kernel/trace/rv/rv_bpf.c:126:38: error: implicit declaration of function 'get_monitor_mdef_by_name' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.