diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-04-30 22:22:01 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-22 03:14:38 +0300 |
commit | ae0386e111253eee0f71ae3f32635a3ba22e5a7b (patch) | |
tree | bb874bf79aef708127079de43114f2351c32fd13 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 98e5e36d8c58ab41c28367d3bfc9ec4e8795e421 (diff) | |
download | linux-ae0386e111253eee0f71ae3f32635a3ba22e5a7b.tar.xz |
bcachefs: Avoid -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Refactor a couple of structs that contain flexible arrays in the
middle by replacing them with unions.
So, with these changes, fix the following warnings:
fs/bcachefs/disk_accounting.c:429:51: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
fs/bcachefs/ec_types.h:8:41: 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>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions