You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
371 B
13 lines
371 B
15 years ago
|
--- 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);
|
||
|
|