From: Lee Jones Date: Mon, 9 Nov 2020 18:21:51 +0000 (+0000) Subject: mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9efbb507b7e66137dc0814c7fb9517dbdd410cc0;p=linux.git mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20201109182206.3037326-9-lee.jones@linaro.org --- diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index e85b04e9716b2..40fa994ad6a8f 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -50,6 +50,7 @@ * struct mtd_dev_param - MTD device parameter description data structure. * @name: MTD character device node path, MTD device name, or MTD device number * string + * @ubi_num: UBI number * @vid_hdr_offs: VID header offset * @max_beb_per1024: maximum expected number of bad PEBs per 1024 PEBs */