linux-next: build warning after merge of the bcachefs tree

From: Stephen Rothwell
Date: Sun Nov 26 2023 - 17:46:45 EST


Hi all,

After merging the bcachefs tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

fs/bcachefs/buckets.c:337:21: warning: no previous prototype for 'bucket_m_to_alloc' [-Wmissing-prototypes]
337 | struct bch_alloc_v4 bucket_m_to_alloc(struct bucket b)
| ^~~~~~~~~~~~~~~~~

Introduced by commit

8192d6956cb6 ("bcachefs: New bucket sector count helpers")

interacting with commit

c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally")

from the mm tree.

It looks like this function should be static.

--
Cheers,
Stephen Rothwell

Attachment: pgpL4a7o2V4ad.pgp
Description: OpenPGP digital signature