]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
UBI: Fastmap: Fix kernel-doc
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 27 Sep 2022 03:57:58 +0000 (11:57 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 2 Feb 2023 20:13:51 +0000 (21:13 +0100)
drivers/mtd/ubi/fastmap.c:104: warning: expecting prototype for new_fm_vhdr(). Prototype was for new_fm_vbuf() instead.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2289
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap.c

index ca2d9efe62c3c75063b41ecacb6cbbd6f107146d..28c8151a0725d5b5c9abbc31bdab3e48fad3253b 100644 (file)
@@ -93,7 +93,7 @@ size_t ubi_calc_fm_size(struct ubi_device *ubi)
 
 
 /**
- * new_fm_vhdr - allocate a new volume header for fastmap usage.
+ * new_fm_vbuf() - allocate a new volume header for fastmap usage.
  * @ubi: UBI device description object
  * @vol_id: the VID of the new header
  *