* [hare-nvme:configfs-ns 1/9] drivers/nvme/target/bpf_ops.c:11:20: warning: variable 'nvmet_bpf_ops_btf' set but not used
@ 2026-05-08 20:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-08 20:17 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: llvm, 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: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260509/202605090433.62EbXdyJ-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260509/202605090433.62EbXdyJ-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/202605090433.62EbXdyJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/nvme/target/bpf_ops.c:11:20: warning: variable 'nvmet_bpf_ops_btf' set but not used [-Wunused-but-set-global]
11 | static struct btf *nvmet_bpf_ops_btf;
| ^
1 warning generated.
vim +/nvmet_bpf_ops_btf +11 drivers/nvme/target/bpf_ops.c
10
> 11 static struct btf *nvmet_bpf_ops_btf;
12 static char nvmet_bpf_ops_name[] = "nvmet_bpf_ops";
13
--
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 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 20:17 [hare-nvme:configfs-ns 1/9] drivers/nvme/target/bpf_ops.c:11:20: warning: variable 'nvmet_bpf_ops_btf' set but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox