Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360357
b: refs/heads/master
c: 54cccc7
h: refs/heads/master
i:
  360355: 24744fc
v: v3
  • Loading branch information
Tormod Volden authored and Artem Bityutskiy committed Feb 4, 2013
1 parent 3c6c644 commit 3e039b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c69fb037a6bb1faf06ea776872da54a6705c154
refs/heads/master: 54cccc70946c7fc15eb9a930935ccba1f7e4599e
5 changes: 2 additions & 3 deletions trunk/drivers/mtd/nand/nand_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ struct mtd_info;
#define MODULE_AUTHOR(x) /* x */
#define MODULE_DESCRIPTION(x) /* x */

#define printk printf
#define KERN_ERR ""
#define pr_err printf
#endif

/*
Expand Down Expand Up @@ -507,7 +506,7 @@ int __nand_correct_data(unsigned char *buf,
if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1)
return 1; /* error in ECC data; no action needed */

printk(KERN_ERR "uncorrectable error : ");
pr_err("%s: uncorrectable ECC error", __func__);
return -1;
}
EXPORT_SYMBOL(__nand_correct_data);
Expand Down

0 comments on commit 3e039b6

Please sign in to comment.