mtd: nand: correct the comment of function nand_block_isreserved()
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Dec 15 19:59:09 PST 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c30e1f790b0e48669cdc09d469a3f31369790d3b
Commit: c30e1f790b0e48669cdc09d469a3f31369790d3b
Parent: 4740f4965298a2177d16d960e8e3cccaac256c85
Author: Gu Zheng <guz.fnst at cn.fujitsu.com>
AuthorDate: Wed Sep 3 17:49:10 2014 +0800
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Nov 28 19:59:50 2014 -0800
mtd: nand: correct the comment of function nand_block_isreserved()
Signed-off-by: Gu Zheng <guz.fnst at cn.fujitsu.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/nand/nand_base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 4cbd145..41585df 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -485,11 +485,11 @@ static int nand_check_wp(struct mtd_info *mtd)
}
/**
- * nand_block_checkbad - [GENERIC] Check if a block is marked bad
+ * nand_block_isreserved - [GENERIC] Check if a block is marked reserved.
* @mtd: MTD device structure
* @ofs: offset from device start
*
- * Check if the block is mark as reserved.
+ * Check if the block is marked as reserved.
*/
static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs)
{
More information about the linux-mtd-cvs
mailing list