projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4ed7d
)
nand_base: trivial: fix comment read/write comment
author
Ben Gardiner
<bengardiner@nanometrics.ca>
Tue, 24 May 2011 14:18:34 +0000
(10:18 -0400)
committer
Scott Wood
<scottwood@freescale.com>
Fri, 1 Jul 2011 20:56:51 +0000
(15:56 -0500)
Replace an incorrect 'read' with 'write' in a comment.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Detlev Zundel <dzu@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index 52f8575aac67f0e1933dabb4c0ce4e304ef26618..1a95a91318f36c612cebc41becac8d94fe14d68c 100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-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
read
s past end of device */
+ /* Do not allow
write
s past end of device */
if ((to + len) > mtd->size)
return -EINVAL;
if (!len)