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

Zhihao Cheng chengzhihao1 at huawei.com
Mon Feb 26 18:42:04 PST 2024


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 at 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 at huawei.com>
---
 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




More information about the linux-mtd mailing list