From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5521025428330106597==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] erofs: erofs_iomap_end() can be static Date: Sun, 18 Jul 2021 13:30:43 +0800 Message-ID: <20210718053043.GA22026@9f5d25f44276> In-Reply-To: <20210716050724.225041-3-hsiangkao@linux.alibaba.com> List-Id: --===============5521025428330106597== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable fs/erofs/data.c:133:5: warning: symbol 'erofs_iomap_end' was not declared. = Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/erofs/data.c b/fs/erofs/data.c index 90b6c27c7abca..fa2f65081b172 100644 --- a/fs/erofs/data.c +++ b/fs/erofs/data.c @@ -130,7 +130,7 @@ static int erofs_iomap_begin(struct inode *inode, loff_= t offset, loff_t length, return 0; } = -int erofs_iomap_end(struct inode *inode, loff_t pos, loff_t length, +static int erofs_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) { struct page *ipage =3D iomap->private; --===============5521025428330106597==--