Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Nov 26, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell