1
0
Fork 0

[MTD] [NAND] Compile fix in rfc_from4.c

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>
hifive-unleashed-5.1
Mariusz Kozlowski 2006-12-01 09:59:49 +00:00 committed by David Woodhouse
parent bd3c97a7c7
commit 7dcb483de3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}