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); | ^~~~~ vim +/arena +235 kernel/bpf/arena.c 231 232 static void arena_vm_open(struct vm_area_struct *vma) 233 { 234 struct bpf_map *map = vma->vm_file->private_data; > 235 struct bpf_arena *arena = container_of(map, struct bpf_arena, map); 236 struct vma_list *vml = vma->vm_private_data; 237 238 atomic_inc(&vml->mmap_count); 239 } 240 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki