[MTD] [NAND] Compile fix in rfc_from4.c
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Dec 1 05:59:01 EST 2006
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7dcb483de3b33e74ddd2040bd7b6ba96d86a91f8
Commit: 7dcb483de3b33e74ddd2040bd7b6ba96d86a91f8
Parent: bd3c97a7c718bfb9f1e4f31c16c383a5c6f815eb
Author: Mariusz Kozlowski <m.kozlowski at tuxland.pl>
AuthorDate: Fri Dec 1 09:59:49 2006 +0000
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Dec 1 09:59:49 2006 +0000
[MTD] [NAND] Compile fix in rfc_from4.c
Signed-off-by: Mariusz Kozlowski <m.kozlowski at tuxland.pl>
Signed-off-by: Andrew Morton <akpm at osdl.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/nand/rtc_from4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/rtc_from4.c b/drivers/mtd/nand/rtc_from4.c
index 02deec3..9189ec8 100644
--- 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_
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);
}
More information about the linux-mtd-cvs
mailing list