Skip to content
Commit 6dfa10ab authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarJohn Stoffel <john@stoffel.org>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4db8ac86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment