提交 bee038e9 编写于 作者: B Ben Gardiner 提交者: Scott Wood

nand_base: trivial: fix comment read/write comment

Replace an incorrect 'read' with 'write' in a comment.
Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca>
Acked-by: NDetlev Zundel <dzu@denx.de>
Signed-off-by: NScott Wood <scottwood@freescale.com>
上级 2c4ed7d2
......@@ -1950,7 +1950,7 @@ static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
struct nand_chip *chip = mtd->priv;
int ret;
/* Do not allow reads past end of device */
/* Do not allow writes past end of device */
if ((to + len) > mtd->size)
return -EINVAL;
if (!len)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册