* [hare-nvme:configfs-ns 1/9] drivers/nvme/target/bpf_ops.c:25:16: error: implicit declaration of function 'bpf_tracing_btf_ctx_access'
@ 2026-05-08 18:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-08 18:08 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/nvme.git configfs-ns
head: 509cbb083b05db0f02a3ceea68bb093f8725a6a5
commit: 94040dcdf8d7b146f62dfb3e0156d93a9713880d [1/9] nvmet-bpf: eBPF struct_ops support for log pages
config: loongarch-randconfig-001-20260509 (https://download.01.org/0day-ci/archive/20260509/202605090205.CEh9SC9R-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260509/202605090205.CEh9SC9R-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/202605090205.CEh9SC9R-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/nvme/target/bpf_ops.c: In function 'nvmet_bpf_ops_is_valid_access':
>> drivers/nvme/target/bpf_ops.c:25:16: error: implicit declaration of function 'bpf_tracing_btf_ctx_access' [-Wimplicit-function-declaration]
25 | return bpf_tracing_btf_ctx_access(off, size, type, prog, info);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/bpf_verifier.h:7,
from drivers/nvme/target/bpf_ops.c:4:
drivers/nvme/target/bpf_ops.c: In function 'nvmet_bpf_struct_ops_init':
include/linux/bpf.h:2142:50: warning: statement with no effect [-Wunused-value]
2142 | #define register_bpf_struct_ops(st_ops, type) ({ (void *)(st_ops); 0; })
| ^~~~~~~~~~~~~~~~
drivers/nvme/target/bpf_ops.c:309:15: note: in expansion of macro 'register_bpf_struct_ops'
309 | ret = register_bpf_struct_ops(&bpf_nvmet_bpf_ops, nvmet_bpf_ops);
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_tracing_btf_ctx_access +25 drivers/nvme/target/bpf_ops.c
19
20 static bool nvmet_bpf_ops_is_valid_access(int off, int size,
21 enum bpf_access_type type,
22 const struct bpf_prog *prog,
23 struct bpf_insn_access_aux *info)
24 {
> 25 return bpf_tracing_btf_ctx_access(off, size, type, prog, info);
26 }
27
--
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-05-08 18:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 18:08 [hare-nvme:configfs-ns 1/9] drivers/nvme/target/bpf_ops.c:25:16: error: implicit declaration of function 'bpf_tracing_btf_ctx_access' 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.