Re: [GIT PULL] bcachefs fixes for 6.11-rc6

From: Geert Uytterhoeven
Date: Tue Sep 03 2024 - 09:55:01 EST


Hi Kent,

Replying here, as there is (again) no patch email to reply to to report issues.

noreply@xxxxxxxxxxxxxx is reporting several build failures[1] in linux-next:

fs/bcachefs/sb-members.c: In function ‘bch2_sb_member_alloc’:
fs/bcachefs/sb-members.c:503:2: error: a label can only be part of
a statement and a declaration is not a statement
503 | unsigned nr_devices = max_t(unsigned, dev_idx + 1,
c->sb.nr_devices);
| ^~~~~~~~
fs/bcachefs/sb-members.c:505:2: error: expected expression before ‘struct’
505 | struct bch_sb_field_members_v2 *mi =
bch2_sb_field_get(c->disk_sb.sb, members_v2);
| ^~~~~~

Apparently this fails with gcc-10 and older, but builds with gcc-11
and gcc-12.

The failure is due to commit 4e7795eda4459bf3 ("bcachefs:
bch2_sb_member_alloc()"), which is nowhere to be found on
lore.kernel.org. Please stop committing private unreviewed patches
to linux-next, as several people have asked before.
Thank you!

[1] http://kisskb.ellerman.id.au/kisskb/branch/linux-next/head/6804f0edbe7747774e6ae60f20cec4ee3ad7c187/

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds