You cannot 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
369 B
Diff
13 lines
369 B
Diff
15 years ago
|
--- a/drivers/mtd/nand/nand_ecc.c
|
||
|
+++ b/drivers/mtd/nand/nand_ecc.c
|
||
|
@@ -492,8 +492,7 @@ int nand_correct_data(struct mtd_info *m
|
||
|
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);
|
||
|
|