On 6/18/24 4:49 PM, Alexei Starovoitov wrote:
On Mon, Jun 17, 2024 at 9:43 PM kernel test robot <lkp@xxxxxxxxx> wrote:
Hi Alexei,
kernel test robot noticed the following build warnings:
[auto build test WARNING on bpf/master]
url: https://github.com/intel-lab-lkp/linux/commits/Alexei-Starovoitov/bpf-Fix-remap-of-arena/20240618-012054
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
patch link: https://lore.kernel.org/r/20240617171812.76634-1-alexei.starovoitov%40gmail.com
patch subject: [PATCH v2 bpf] bpf: Fix remap of arena.
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240618/202406181248.u80sRLXy-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240618/202406181248.u80sRLXy-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406181248.u80sRLXy-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
kernel/bpf/arena.c: In function 'arena_vm_open':
kernel/bpf/arena.c:235:27: warning: unused variable 'arena' [-Wunused-variable]
235 | struct bpf_arena *arena = container_of(map, struct bpf_arena, map);
| ^~~~~
Daniel or Andrii,
could you please remove this line while applying?
Ok, done, both lines actually.