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

mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues

This patch also places the descriptions in the correct order.

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

drivers/mtd/devices/docg3.c:819: warning: bad line:
drivers/mtd/devices/docg3.c:1799: warning: Excess function parameter 'base' description in 'doc_probe_device'

Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
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-5-lee.jones@linaro.org

authored by

Lee Jones and committed by
Miquel Raynal
9712fb21 720ae74d

+2 -3
+2 -3
drivers/mtd/devices/docg3.c
··· 816 816 817 817 /** 818 818 * calc_block_sector - Calculate blocks, pages and ofs. 819 - 819 + * 820 820 * @from: offset in flash 821 821 * @block0: first plane block index calculated 822 822 * @block1: second plane block index calculated ··· 1783 1783 1784 1784 /** 1785 1785 * doc_probe_device - Check if a device is available 1786 - * @base: the io space where the device is probed 1786 + * @cascade: the cascade of chips this devices will belong to 1787 1787 * @floor: the floor of the probed device 1788 1788 * @dev: the device 1789 - * @cascade: the cascade of chips this devices will belong to 1790 1789 * 1791 1790 * Checks whether a device at the specified IO range, and floor is available. 1792 1791 *