mtd: nand: Fix a docs build warning
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sun Aug 6 18:59:03 PDT 2017
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=cb25fae18207330caac848d850e11f9cdb500dbf
Commit: cb25fae18207330caac848d850e11f9cdb500dbf
Parent: 791eccd94965a8029ae09c5530bcb9a76794e408
Author: Jonathan Corbet <corbet at lwn.net>
AuthorDate: Sun Jul 30 16:18:03 2017 -0600
Committer: Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Wed Aug 2 10:26:41 2017 +0200
mtd: nand: Fix a docs build warning
Commit 0b4773fd1649 (mtd: nand: Drop unused cached programming support)
removed the "cached" parameter from nand_write_page(), but did not update
the kerneldoc comments, creating this docs build warning:
./drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page'
Remove the offending line so we can have a little peace and quiet.
Signed-off-by: Jonathan Corbet <corbet at lwn.net>
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
drivers/mtd/nand/nand_base.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 7b3826b..5b7c8d0 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2747,7 +2747,6 @@ static int nand_write_page_syndrome(struct mtd_info *mtd,
* @buf: the data to write
* @oob_required: must write chip->oob_poi to OOB
* @page: page number to write
- * @cached: cached programming
* @raw: use _raw version of write_page
*/
static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
More information about the linux-mtd-cvs
mailing list