diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 18:05:22 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-04 14:17:11 -0400 |
commit | 6dfa10ab22a6a322269a3454d7ac720dc2f8bf11 (patch) | |
tree | e27926b981d8aa5eb8f282747d34c11e55f0f4db /tools | |
parent | 4db8ac8629b1ee75316849b0e8ea5bbf90335706 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions