All of lore.kernel.org
 help / color / mirror / Atom feed
* mainline build failure due to 5cfd69775eb5 ("bcachefs: Array bounds fixes")
@ 2023-10-31 22:15 Sudip Mukherjee (Codethink)
  2023-10-31 22:24 ` Kent Overstreet
  0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee (Codethink) @ 2023-10-31 22:15 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: linux-bcachefs, linux-kernel, Linus Torvalds, regressions

Hi All,

The latest mainline kernel branch fails to build arm64 allmodconfig
with a native build on an arm64 host with the error:

In file included from fs/bcachefs/btree_io.c:11:
fs/bcachefs/btree_update_interior.h: In function 'want_new_bset':
fs/bcachefs/btree_update_interior.h:274:36: error: array subscript 0 is outside the bounds of an interior zero-length array 'struct bkey_packed[0]' [-Werror=zero-length-bounds]
  274 |   __bch_btree_u64s_remaining(c, b, &bne->keys.start[0]);
      |                                    ^~~~~~~~~~~~~~~~~~~
In file included from fs/bcachefs/bcachefs.h:206,
                 from fs/bcachefs/btree_io.c:3:
fs/bcachefs/bcachefs_format.h:2344:21: note: while referencing 'start'
 2344 |  struct bkey_packed start[0];
      |                     ^~~~~

git bisect pointed to 5cfd69775eb5 ("bcachefs: Array bounds fixes").

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: 5cfd69775eb5460ef78bb5034a37eb0dc52ab65d

-- 
Regards
Sudip

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-01  7:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 22:15 mainline build failure due to 5cfd69775eb5 ("bcachefs: Array bounds fixes") Sudip Mukherjee (Codethink)
2023-10-31 22:24 ` Kent Overstreet
2023-11-01  5:18   ` Sudip Mukherjee
2023-11-01  7:24     ` Linux regression tracking (Thorsten Leemhuis)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.