projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3c97a
)
[MTD] [NAND] Compile fix in rfc_from4.c
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Fri, 1 Dec 2006 09:59:49 +0000
(09:59 +0000)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 1 Dec 2006 09:59:49 +0000
(09:59 +0000)
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/rtc_from4.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/rtc_from4.c
b/drivers/mtd/nand/rtc_from4.c
index 02deec3ec264dabc3c50868574ccbac4f35f6db3..9189ec8f243eda85e2d89d5dd4037064d13ad2fc 100644
(file)
--- a/
drivers/mtd/nand/rtc_from4.c
+++ b/
drivers/mtd/nand/rtc_from4.c
@@
-456,7
+456,7
@@
static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this,
rtn = nand_do_read(mtd, page, len, &retlen, buf);
/* if read failed or > 1-bit error corrected */
- if (rtn || (mtd->ecc_stats.corrected - corrected) > 1)
{
+ if (rtn || (mtd->ecc_stats.corrected - corrected) > 1)
er_stat |= 1 << 1;
kfree(buf);
}