lkml.org 
[lkml]   [2006]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mtd rtc_from4 brace fix
Date
Hello,

Remove extra brace at the end of if (...

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

drivers/mtd/nand/rtc_from4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2-a/drivers/mtd/nand/rtc_from4.c 2006-11-28 12:16:40.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/drivers/mtd/nand/rtc_from4.c 2006-11-29 16:37:33.000000000 +0100
@@ -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);
}

--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-29 20:37    [W:0.019 / U:3.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site