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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 27 Nov 2023 09:46:34 +1100

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