2024-02-27 02:55:22

by Zhihao Cheng

[permalink] [raw]
Subject: [PATCH -next] ubifs: add_or_start_queue: fix kernel-doc warning

Fix kernel-doc warning found when using "W=1":
fs/ubifs/journal.c:369: warning: expecting prototype for
wake_up_reservation(). Prototype was for add_or_start_queue() instead.

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 556c19f563b6 ("ubifs: Queue up space reservation tasks if retrying many times")
Signed-off-by: Zhihao Cheng <[email protected]>
---
fs/ubifs/journal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 74aee92433d7..f997a85bcdce 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -359,7 +359,7 @@ static void wake_up_reservation(struct ubifs_info *c)
}

/**
- * wake_up_reservation - add current task in queue or start queuing.
+ * add_or_start_queue - add current task in queue or start queuing.
* @c: UBIFS file-system description object
*
* This function starts queuing if queuing is not started, otherwise adds
--
2.39.2