diff mbox series

mtd: rawnand: pl353: Fix kernel doc

Message ID 20231211150524.108803-1-miquel.raynal@bootlin.com
State Accepted
Headers show
Series mtd: rawnand: pl353: Fix kernel doc | expand

Commit Message

Miquel Raynal Dec. 11, 2023, 3:05 p.m. UTC
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@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@bootlin.com>
---
 drivers/mtd/nand/raw/pl35x-nand-controller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tudor Ambarus Dec. 12, 2023, 3:45 a.m. UTC | #1
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@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@bootlin.com>

Reviewed-by Tudor Ambarus <tudor.ambarus@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
Miquel Raynal Dec. 15, 2023, 10:59 a.m. UTC | #2
On Mon, 2023-12-11 at 15:05:24 UTC, 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@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@bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel
diff mbox series

Patch

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