mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-21 14:38:04 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26692 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
371 B
Diff
13 lines
371 B
Diff
--- a/drivers/mtd/nand/nand_ecc.c
|
|
+++ b/drivers/mtd/nand/nand_ecc.c
|
|
@@ -507,8 +507,7 @@ int __nand_correct_data(unsigned char *b
|
|
if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1)
|
|
return 1; /* error in ecc data; no action needed */
|
|
|
|
- printk(KERN_ERR "uncorrectable error : ");
|
|
- return -1;
|
|
+ return -EBADMSG;
|
|
}
|
|
EXPORT_SYMBOL(__nand_correct_data);
|
|
|