From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: kernel/bpf/dmabuf_iter.c:109:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
Date: Sat, 5 Jul 2025 22:15:33 +0800 [thread overview]
Message-ID: <202507052244.abG9LXBW-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: "T.J. Mercier" <tjmercier@google.com>
CC: Alexei Starovoitov <ast@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a79a588fc1761dc12a3064fc2f648ae66cea3c5a
commit: 6eab7ac7c5eea7628b92cd5f9427bbd963a954ec bpf: Add open coded dmabuf iterator
date: 6 weeks ago
:::::: branch date: 14 hours ago
:::::: commit date: 6 weeks ago
config: powerpc-randconfig-r051-20250705 (https://download.01.org/0day-ci/archive/20250705/202507052244.abG9LXBW-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.4.0
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>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202507052244.abG9LXBW-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/dmabuf_iter.c:109:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
vim +109 kernel/bpf/dmabuf_iter.c
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 103
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 104 struct bpf_iter_dmabuf {
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 105 /*
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 106 * opaque iterator state; having __u64 here allows to preserve correct
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 107 * alignment requirements in vmlinux.h, generated from BTF
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 108 */
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 @109 __u64 __opaque[1];
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 110 } __aligned(8);
6eab7ac7c5eea7 T.J. Mercier 2025-05-22 111
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-07-05 14:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-05 14:15 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-03-23 17:20 kernel/bpf/dmabuf_iter.c:109:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) kernel test robot
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=202507052244.abG9LXBW-lkp@intel.com \
--to=lkp@intel.com \
--cc=julia.lawall@inria.fr \
--cc=oe-kbuild@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.