[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230106075917.1310103-1-oushixiong@kylinos.cn>
Date: Fri, 6 Jan 2023 15:59:17 +0800
From: oushixiong <oushixiong@...inos.cn>
To: David Howells <dhowells@...hat.com>
Cc: Marc Dionne <marc.dionne@...istor.com>,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org,
oushixiong <oushixiong@...inos.cn>, k2ci <kernel-bot@...inos.cn>
Subject: [PATCH] afs: fix a compilation issue
fix a compilation issue:
error: no return statement in function returning non-void
Reported-by: k2ci <kernel-bot@...inos.cn>
Signed-off-by: oushixiong <oushixiong@...inos.cn>
---
fs/afs/dir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/afs/dir.c b/fs/afs/dir.c
index b7c1f8c84b38..0522fb61b929 100644
--- a/fs/afs/dir.c
+++ b/fs/afs/dir.c
@@ -49,6 +49,7 @@ static bool afs_dir_dirty_folio(struct address_space *mapping,
struct folio *folio)
{
BUG(); /* This should never happen. */
+ return false;
}
const struct file_operations afs_dir_file_operations = {
--
2.25.1
Powered by blists - more mailing lists