Commit b9129136 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Fix build error on weird gcc

fixes
./include/linux/stddef.h:8:14: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f26c67f4
...@@ -1487,9 +1487,7 @@ static const struct bch_sb_field_ops *bch2_sb_field_ops[] = { ...@@ -1487,9 +1487,7 @@ static const struct bch_sb_field_ops *bch2_sb_field_ops[] = {
#undef x #undef x
}; };
static const struct bch_sb_field_ops bch2_sb_field_null_ops = { static const struct bch_sb_field_ops bch2_sb_field_null_ops;
NULL
};
static const struct bch_sb_field_ops *bch2_sb_field_type_ops(unsigned type) static const struct bch_sb_field_ops *bch2_sb_field_type_ops(unsigned type)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment