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

mtd: ubi: gluebi: Fix misnamed function parameter documentation

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

drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify'
drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify'

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-15-lee.jones@linaro.org

authored by

Lee Jones and committed by
Miquel Raynal
46c60dbf fa985e22

+1 -1
+1 -1
drivers/mtd/ubi/gluebi.c
··· 439 439 * gluebi_notify - UBI notification handler. 440 440 * @nb: registered notifier block 441 441 * @l: notification type 442 - * @ptr: pointer to the &struct ubi_notification object 442 + * @ns_ptr: pointer to the &struct ubi_notification object 443 443 */ 444 444 static int gluebi_notify(struct notifier_block *nb, unsigned long l, 445 445 void *ns_ptr)