From: Jiapeng Chong Date: Tue, 27 Sep 2022 03:57:58 +0000 (+0800) Subject: UBI: Fastmap: Fix kernel-doc X-Git-Tag: v6.3-rc1~44^2~11 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b5dd034f8f4a8405713842fb0a6f35e5062d95b7;p=linux-2.6-block.git UBI: Fastmap: Fix kernel-doc 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 Signed-off-by: Jiapeng Chong Signed-off-by: Richard Weinberger --- diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c index ca2d9efe62c3..28c8151a0725 100644 --- a/drivers/mtd/ubi/fastmap.c +++ b/drivers/mtd/ubi/fastmap.c @@ -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 *