projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a20567
)
atmel_nand: add '\n' in the end of error message for better display
author
Josh Wu
<
[email protected]
>
Mon, 25 Jan 2016 06:06:34 +0000
(14:06 +0800)
committer
Andreas Bießmann
<
[email protected]
>
Wed, 27 Jan 2016 12:58:59 +0000
(13:58 +0100)
Also align the open parenthesis.
Signed-off-by: Josh Wu <
[email protected]
>
Signed-off-by: Wenyou Yang <
[email protected]
>
Reviewed-by: Andreas Bießmann <
[email protected]
>
drivers/mtd/nand/atmel_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/atmel_nand.c
b/drivers/mtd/nand/atmel_nand.c
index e179f7422976d4c06197687e8ad1a760e592b6a3..852883bfb2e603072f794ef52f9d420c32e79c91 100644
(file)
--- a/
drivers/mtd/nand/atmel_nand.c
+++ b/
drivers/mtd/nand/atmel_nand.c
@@
-821,8
+821,8
@@
static int atmel_pmecc_nand_init_params(struct nand_chip *nand,
* from ONFI.
*/
if (pmecc_choose_ecc(host, nand, &cap, §or_size)) {
- dev_err(host->dev, "
The NAND flash's ECC requirement(ecc_bits: %d, sector_size: %d) are not support!
",
-
cap, sector_size);
+ dev_err(host->dev, "
Required ECC %d bits in %d bytes not supported!\n
",
+ cap, sector_size);
return -EINVAL;
}