]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] NAND: Café ECC -- remove spurious BUG_ON() in err_pos()
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 27 Oct 2006 06:53:08 +0000 (09:53 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 27 Oct 2006 06:53:08 +0000 (09:53 +0300)
commit2c8cfdcbeb1ab0ec7bbd5af1be311b55281154c4
tree8d1062fcc02d29be83fde5f13c0e3bfe39aea464
parent470b0a90d6a21cb72b671215f12ec7ec8a0db2c0
[MTD] NAND: Café ECC -- remove spurious BUG_ON() in err_pos()

Being a value which isn't in the table is a case we explicitly check for
in the caller. Don't BUG_ON() because it does actually happen in
practice.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/cafe_ecc.c