2023-11-26 22:47:15

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the bcachefs tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature