From patchwork Mon Feb 15 21:57:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: mtd: misplaced parenthesis in find_boot_record() Date: Mon, 15 Feb 2010 11:57:24 -0000 From: roel kluin X-Patchwork-Id: 45439 Message-Id: <4B79C344.60908@gmail.com> To: David Woodhouse , linux-mtd@lists.infradead.org, Andrew Morton , LKML The parenthesis was misplaced, upon error a one was shown. Signed-off-by: Roel Kluin --- diff --git a/drivers/mtd/inftlmount.c b/drivers/mtd/inftlmount.c index 32e82ae..a269c62 100644 --- a/drivers/mtd/inftlmount.c +++ b/drivers/mtd/inftlmount.c @@ -102,7 +102,7 @@ static int find_boot_record(struct INFTLrecord *inftl) /* To be safer with BIOS, also use erase mark as discriminant */ if ((ret = inftl_read_oob(mtd, block * inftl->EraseSize + SECTORSIZE + 8, 8, &retlen, - (char *)&h1) < 0)) { + (char *)&h1)) < 0) { printk(KERN_WARNING "INFTL: ANAND header found at " "0x%x in mtd%d, but OOB data read failed " "(err %d)\n", block * inftl->EraseSize,