diff mbox series

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

Message ID 20240227024204.1080739-1-chengzhihao1@huawei.com
State New
Delegated to: Richard Weinberger
Headers show
Series [-next] ubifs: add_or_start_queue: fix kernel-doc warning | expand

Commit Message

Zhihao Cheng Feb. 27, 2024, 2:42 a.m. UTC
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402261912.yAxZePRG-lkp@intel.com/
Fixes: 556c19f563b6 ("ubifs: Queue up space reservation tasks if retrying many times")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
---
 fs/ubifs/journal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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