diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-01 01:05:22 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-04 21:17:11 +0300 |
commit | 6dfa10ab22a6a322269a3454d7ac720dc2f8bf11 (patch) | |
tree | e27926b981d8aa5eb8f282747d34c11e55f0f4db /fs/bcachefs/btree_iter.h | |
parent | 4db8ac8629b1ee75316849b0e8ea5bbf90335706 (diff) | |
download | linux-6dfa10ab22a6a322269a3454d7ac720dc2f8bf11.tar.xz |
bcachefs: Fix build errors with gcc 10
gcc 10 seems to complain about array bounds in situations where gcc 11
does not - curious.
This unfortunately requires adding some casts for now; we may
investigate getting rid of our __u64 _data[] VLA in a future patch so
that our start[0] members can be VLAs.
Reported-by: John Stoffel <john@stoffel.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.h')
0 files changed, 0 insertions, 0 deletions