* Re: [PATCHv3 bpf 1/2] bpf: Fix prog_array_map_poke_run map poke update
[not found] <20231203204851.388654-2-jolsa@kernel.org>
@ 2023-12-05 7:17 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-05 7:17 UTC (permalink / raw)
To: Jiri Olsa, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
Cc: llvm, oe-kbuild-all, Lee Jones, Maciej Fijalkowski,
syzbot+97a4fe20470e9bc30810, bpf, Martin KaFai Lau, Song Liu,
Yonghong Song, John Fastabend, KP Singh, Stanislav Fomichev,
Hao Luo
Hi Jiri,
kernel test robot noticed the following build warnings:
[auto build test WARNING on bpf/master]
url: https://github.com/intel-lab-lkp/linux/commits/Jiri-Olsa/bpf-Fix-prog_array_map_poke_run-map-poke-update/20231204-045204
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
patch link: https://lore.kernel.org/r/20231203204851.388654-2-jolsa%40kernel.org
patch subject: [PATCHv3 bpf 1/2] bpf: Fix prog_array_map_poke_run map poke update
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231205/202312051557.5OKOsVGa-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051557.5OKOsVGa-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/202312051557.5OKOsVGa-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/net/bpf_jit_comp.c:3029:6: warning: no previous prototype for function 'bpf_arch_poke_desc_update' [-Wmissing-prototypes]
void bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke,
^
arch/x86/net/bpf_jit_comp.c:3029:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke,
^
static
1 warning generated.
--
>> kernel/bpf/arraymap.c:1015:13: warning: no previous prototype for function 'bpf_arch_poke_desc_update' [-Wmissing-prototypes]
void __weak bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke,
^
kernel/bpf/arraymap.c:1015:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke,
^
static
1 warning generated.
vim +/bpf_arch_poke_desc_update +3029 arch/x86/net/bpf_jit_comp.c
3028
> 3029 void bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread