diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-01-13 07:40:12 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-02-05 22:36:39 +0100 |
commit | 0b3bc49c936c1e6f399fcd2028ce24c3de9e7e59 (patch) | |
tree | c7a561b40d81ecd85f4d628d2271ec5ccab66288 /drivers/mtd/ubi/wl.c | |
parent | ubi: block: set BLK_MQ_F_BLOCKING (diff) | |
download | linux-0b3bc49c936c1e6f399fcd2028ce24c3de9e7e59.tar.xz linux-0b3bc49c936c1e6f399fcd2028ce24c3de9e7e59.zip |
ubi: use correct names in function kernel-doc comments
Fix kernel-doc warnings by using the correct function names in
their kernel-doc notation:
drivers/mtd/ubi/eba.c:72: warning: expecting prototype for next_sqnum(). Prototype was for ubi_next_sqnum() instead
drivers/mtd/ubi/wl.c:176: warning: expecting prototype for wl_tree_destroy(). Prototype was for wl_entry_destroy() instead
drivers/mtd/ubi/misc.c:24: warning: expecting prototype for calc_data_len(). Prototype was for ubi_calc_data_len() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 9e14319225c9..40f39e5d6dfc 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -165,7 +165,7 @@ static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root) } /** - * wl_tree_destroy - destroy a wear-leveling entry. + * wl_entry_destroy - destroy a wear-leveling entry. * @ubi: UBI device description object * @e: the wear-leveling entry to add * |