* [kkdwivedi:cancellations 25/34] kernel/bpf/core.c:3577:22: warning: 'bpf_prog_report_may_goto_violation' defined but not used
@ 2026-10-20 0:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-20 0:11 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
tree: https://github.com/kkdwivedi/linux cancellations
head: d3a43c8a05ca2e56ecb592c265a238386f3f1ff3
commit: cbd0277ca8d0c1bd206c9f7f9f908d07b24dc3e8 [25/34] bpf: Let the timed may_goto slow path cancel the program
config: arc-randconfig-2000-20261019 (https://download.01.org/0day-ci/archive/20261020/202610200225.QHojnMjH-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261020/202610200225.QHojnMjH-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/202610200225.QHojnMjH-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/bpf/core.c:3577:22: warning: 'bpf_prog_report_may_goto_violation' defined but not used [-Wunused-function]
static noinline void bpf_prog_report_may_goto_violation(struct bpf_prog *prog, bool cancel)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_prog_report_may_goto_violation +3577 kernel/bpf/core.c
3576
> 3577 static noinline void bpf_prog_report_may_goto_violation(struct bpf_prog *prog, bool cancel)
3578 {
3579 #ifdef CONFIG_BPF_SYSCALL
3580 struct bpf_stream_stage ss;
3581
3582 bpf_stream_stage(ss, prog, BPF_STDERR, ({
3583 bpf_stream_printk(ss, "ERROR: Timeout detected for may_goto instruction%s\n",
3584 cancel ? ", cancelling program" : "");
3585 bpf_stream_dump_stack(ss);
3586 }));
3587 #endif
3588 }
3589
--
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-10-20 0:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 0:11 [kkdwivedi:cancellations 25/34] kernel/bpf/core.c:3577:22: warning: 'bpf_prog_report_may_goto_violation' defined but not used 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.