From: kernel test robot <lkp@intel.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>, bpf@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, daniel@iogearbox.net,
andrii@kernel.org, martin.lau@kernel.org, memxor@gmail.com,
eddyz87@gmail.com, pengfei.xu@intel.com, brho@google.com,
kernel-team@fb.com
Subject: Re: [PATCH v2 bpf] bpf: Fix remap of arena.
Date: Tue, 18 Jun 2024 12:43:11 +0800 [thread overview]
Message-ID: <202406181248.u80sRLXy-lkp@intel.com> (raw)
In-Reply-To: <20240617171812.76634-1-alexei.starovoitov@gmail.com>
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@intel.com/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@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/202406181248.u80sRLXy-lkp@intel.com/
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
next prev parent reply other threads:[~2024-06-18 4:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-17 17:18 [PATCH v2 bpf] bpf: Fix remap of arena Alexei Starovoitov
2024-06-17 17:52 ` Barret Rhoden
2024-06-18 2:02 ` Pengfei Xu
2024-06-18 4:43 ` kernel test robot [this message]
2024-06-18 14:49 ` Alexei Starovoitov
2024-06-18 15:28 ` Daniel Borkmann
2024-06-18 15:30 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202406181248.u80sRLXy-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=brho@google.com \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=kernel-team@fb.com \
--cc=martin.lau@kernel.org \
--cc=memxor@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pengfei.xu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox