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

From: Zhihao Cheng
Date: Mon Feb 26 2024 - 21:48:11 EST


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 <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202402261912.yAxZePRG-lkp@xxxxxxxxx/
Fixes: 556c19f563b6 ("ubifs: Queue up space reservation tasks if retrying many times")
Signed-off-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
---
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