Skip to content

Commit

Permalink
[MTD] [NAND] Fix misparenthesization introduced by commit 78b6517...
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Scott Wood authored and David Woodhouse committed Feb 3, 2008
1 parent 6208e77 commit 1c45f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2472,9 +2472,9 @@ int nand_scan_tail(struct mtd_info *mtd)
if ((!chip->ecc.calculate || !chip->ecc.correct ||
!chip->ecc.hwctl) &&
(!chip->ecc.read_page ||
chip->ecc.read_page == nand_read_page_hwecc) ||
chip->ecc.read_page == nand_read_page_hwecc ||
!chip->ecc.write_page ||
chip->ecc.write_page == nand_write_page_hwecc) {
chip->ecc.write_page == nand_write_page_hwecc)) {
printk(KERN_WARNING "No ECC functions supplied, "
"Hardware ECC not possible\n");
BUG();
Expand Down

0 comments on commit 1c45f60

Please sign in to comment.