diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-03-28 08:25:08 -0600 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-05-20 05:34:25 +0200 |
commit | deed1904512c7e44f449a522af6676a8640e5989 (patch) | |
tree | 24cf1a8c8ea33888338f0015c5bd6592a0e6b355 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 496a3bc5e46c6485a50730ffbcbc92fc53120425 (diff) |
nvme-loop: avoid -Wflex-array-member-not-at-end warning
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Move the conflicting declaration to the end of the structure. Notice
that `struct nvme_loop_iod` is a flexible structure --a structure
that contains a flexible-array member.
Fix the following warning:
drivers/nvme/target/loop.c:36:33: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions