[PATCH] mtd: rawnand: pl353: Fix kernel doc
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Dec 11 19:45:25 PST 2023
On 12/11/23 15:05, Miquel Raynal wrote:
> Both the "chip" kernel doc member and description are wrong. This field
> is called "chips" and describes the list of NAND chips connected to the
> controller.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202312102130.geZ4dqyN-lkp@intel.com/
> Fixes: 08d8c62164a3 ("mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller")
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Reviewed-by Tudor Ambarus <tudor.ambarus at linaro.org>
> ---
> drivers/mtd/nand/raw/pl35x-nand-controller.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/raw/pl35x-nand-controller.c b/drivers/mtd/nand/raw/pl35x-nand-controller.c
> index c506e92a3e45..1c76ee98efb7 100644
> --- a/drivers/mtd/nand/raw/pl35x-nand-controller.c
> +++ b/drivers/mtd/nand/raw/pl35x-nand-controller.c
> @@ -128,7 +128,7 @@ struct pl35x_nand {
> * @conf_regs: SMC configuration registers for command phase
> * @io_regs: NAND data registers for data phase
> * @controller: Core NAND controller structure
> - * @chip: NAND chip information structure
> + * @chips: List of connected NAND chips
> * @selected_chip: NAND chip currently selected by the controller
> * @assigned_cs: List of assigned CS
> * @ecc_buf: Temporary buffer to extract ECC bytes
More information about the linux-mtd
mailing list