[PATCH] mtd: fix linux/mtd/nand.h kernel-doc warning

Randy Dunlap rdunlap at infradead.org
Sun Jul 27 14:31:53 PDT 2014


From: Randy Dunlap <rdunlap at infradead.org>

Fix kernel-doc warning in <linux/mtd/nand.h>:

Warning(..//include/linux/mtd/nand.h:795): No description found for parameter 'ecc'

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc:	David Woodhouse <dwmw2 at infradead.org>
Cc:	Brian Norris <computersforpeace at gmail.com>
Cc:	linux-mtd at lists.infradead.org
---
 include/linux/mtd/nand.h |    1 +
 1 file changed, 1 insertion(+)

Index: lnx-316-rc7/include/linux/mtd/nand.h
===================================================================
--- lnx-316-rc7.orig/include/linux/mtd/nand.h
+++ lnx-316-rc7/include/linux/mtd/nand.h
@@ -766,6 +766,7 @@ struct nand_chip {
  * @options: stores various chip bit options
  * @id_len: The valid length of the @id.
  * @oobsize: OOB size
+ * @ecc: ECC correctability and step information from the datasheet.
  * @ecc.strength_ds: The ECC correctability from the datasheet, same as the
  *                   @ecc_strength_ds in nand_chip{}.
  * @ecc.step_ds: The ECC step required by the @ecc.strength_ds, same as the



More information about the linux-mtd mailing list