Content-Type: multipart/mixed; boundary="===============6722546216208686523==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] fs: __alloc_page_buffers() can be static Date: Tue, 15 Feb 2022 10:40:46 +0800 Message-ID: <20220215024046.GA23599@ac25a70e2135> In-Reply-To: <20220214174403.4147994-6-shr@fb.com> List-Id: --===============6722546216208686523== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable fs/buffer.c:805:20: warning: symbol '__alloc_page_buffers' was not declared= . Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- fs/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/buffer.c b/fs/buffer.c index a1986f95a39a0..19a4ab1f61686 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -802,7 +802,7 @@ int remove_inode_buffers(struct inode *inode) return ret; } = -struct buffer_head *__alloc_page_buffers(struct page *page, unsigned long = size, +static struct buffer_head *__alloc_page_buffers(struct page *page, unsigne= d long size, gfp_t gfp) { struct buffer_head *bh, *head; --===============6722546216208686523==--