[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20061022193150.aea33ea6.randy.dunlap@oracle.com>
Date: Sun, 22 Oct 2006 19:31:50 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: dwmw2@...radead.org
Subject: [PATCH] MTD: fix kernel-doc warnings
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix MTD kernel-doc warnings:
Warning(/var/linsrc/linux-2619-rc2g7//include/linux/mtd/nand.h:416): No description found for parameter 'write_page'
Warning(/var/linsrc/linux-2619-rc2g7//drivers/mtd/nand/nand_base.c:1485): No description found for parameter 'raw'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
drivers/mtd/nand/nand_base.c | 1 +
include/linux/mtd/nand.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--- linux-2619-rc2g7.orig/drivers/mtd/nand/nand_base.c
+++ linux-2619-rc2g7/drivers/mtd/nand/nand_base.c
@@ -1479,6 +1479,7 @@ static void nand_write_page_syndrome(str
* @buf: the data to write
* @page: page number to write
* @cached: cached programming
+ * @raw: use raw write mode
*/
static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf, int page, int cached, int raw)
--- linux-2619-rc2g7.orig/include/linux/mtd/nand.h
+++ linux-2619-rc2g7/include/linux/mtd/nand.h
@@ -355,7 +355,7 @@ struct nand_buffers {
* @priv: [OPTIONAL] pointer to private chip date
* @errstat: [OPTIONAL] hardware specific function to perform additional error status checks
* (determine if errors are correctable)
- * @write_page [REPLACEABLE] High-level page write function
+ * @write_page: [REPLACEABLE] High-level page write function
*/
struct nand_chip {
---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists