projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c31205
)
mtd: nand: add out label in rfc_from4
author
Sebastian Siewior
<
[email protected]
>
Fri, 28 Mar 2008 21:15:47 +0000
(14:15 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 28 Mar 2008 21:45:21 +0000
(14:45 -0700)
This has been forgotten in commit
f5bbdacc419
("[MTD] NAND Modularize
read function") and nobody compiled the driver.
Signed-off-by: Sebastian Siewior <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: David Woodhouse <
[email protected]
>
Cc: Joern Engel <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/mtd/nand/rtc_from4.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/rtc_from4.c
b/drivers/mtd/nand/rtc_from4.c
index 9189ec8f243eda85e2d89d5dd4037064d13ad2fc..0f6ac250f434909708bb6a5206ceb1b5c6ae3fad 100644
(file)
--- a/
drivers/mtd/nand/rtc_from4.c
+++ b/
drivers/mtd/nand/rtc_from4.c
@@
-460,7
+460,7
@@
static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this,
er_stat |= 1 << 1;
kfree(buf);
}
-
+out:
rtn = status;
if (er_stat == 0) { /* if ECC is available */
rtn = (status & ~NAND_STATUS_FAIL); /* clear the error bit */