diff mbox series

[09/23] mtd: nand: spi: toshiba: Demote non-conformant kernel-doc header

Message ID 20201102115406.1074327-10-lee.jones@linaro.org
State Superseded
Headers show
Series [01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' | expand

Commit Message

Lee Jones Nov. 2, 2020, 11:53 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS'
 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS'

Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Yoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/mtd/nand/spi/toshiba.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Comments

Frieder Schrempf Nov. 2, 2020, 12:29 p.m. UTC | #1
On 02.11.20 12:53, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>   drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS'

>   drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS'

> 

> Cc: Miquel Raynal <miquel.raynal@bootlin.com>

> Cc: Richard Weinberger <richard@nod.at>

> Cc: Vignesh Raghavendra <vigneshr@ti.com>

> Cc: Yoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>

> Cc: Frieder Schrempf <frieder.schrempf@kontron.de>

> Cc: linux-mtd@lists.infradead.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>


> ---

>   drivers/mtd/nand/spi/toshiba.c | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/mtd/nand/spi/toshiba.c b/drivers/mtd/nand/spi/toshiba.c

> index 21fde28756742..7380b1ebaccd5 100644

> --- a/drivers/mtd/nand/spi/toshiba.c

> +++ b/drivers/mtd/nand/spi/toshiba.c

> @@ -28,7 +28,7 @@ static SPINAND_OP_VARIANTS(update_cache_x4_variants,

>   		SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),

>   		SPINAND_PROG_LOAD(false, 0, NULL, 0));

>   

> -/**

> +/*

>    * Backward compatibility for 1st generation Serial NAND devices

>    * which don't support Quad Program Load operation.

>    */

> 


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
diff mbox series

Patch

diff --git a/drivers/mtd/nand/spi/toshiba.c b/drivers/mtd/nand/spi/toshiba.c
index 21fde28756742..7380b1ebaccd5 100644
--- a/drivers/mtd/nand/spi/toshiba.c
+++ b/drivers/mtd/nand/spi/toshiba.c
@@ -28,7 +28,7 @@  static SPINAND_OP_VARIANTS(update_cache_x4_variants,
 		SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),
 		SPINAND_PROG_LOAD(false, 0, NULL, 0));
 
-/**
+/*
  * Backward compatibility for 1st generation Serial NAND devices
  * which don't support Quad Program Load operation.
  */