Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: ubi: wl: Fix a couple of kernel-doc issues

Fixes the following W=1 kernel build warning(s):

drivers/mtd/ubi/wl.c:584: warning: Function parameter or member 'nested' not described in 'schedule_erase'
drivers/mtd/ubi/wl.c:1075: warning: Excess function parameter 'shutdown' description in '__erase_worker'

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201109182206.3037326-13-lee.jones@linaro.org

authored by

Lee Jones and committed by
Miquel Raynal
ab4e4de9 e1eb368d

+1 -2
+1 -2
drivers/mtd/ubi/wl.c
··· 575 575 * @vol_id: the volume ID that last used this PEB 576 576 * @lnum: the last used logical eraseblock number for the PEB 577 577 * @torture: if the physical eraseblock has to be tortured 578 + * @nested: denotes whether the work_sem is already held in read mode 578 579 * 579 580 * This function returns zero in case of success and a %-ENOMEM in case of 580 581 * failure. ··· 1064 1063 * __erase_worker - physical eraseblock erase worker function. 1065 1064 * @ubi: UBI device description object 1066 1065 * @wl_wrk: the work object 1067 - * @shutdown: non-zero if the worker has to free memory and exit 1068 - * because the WL sub-system is shutting down 1069 1066 * 1070 1067 * This function erases a physical eraseblock and perform torture testing if 1071 1068 * needed. It also takes care about marking the physical eraseblock bad if