summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_ecc.c
diff options
context:
space:
mode:
authorRaphaël Poggi <poggi.raph@gmail.com>2014-04-08 19:19:48 +0200
committerBrian Norris <computersforpeace@gmail.com>2014-04-16 09:18:26 +0200
commit85a3bd978e9180ec22e958f9d5347ace4ff41ef6 (patch)
treef9cfa62f7465221e843234d3be94ae5101e3187e /drivers/mtd/nand/nand_ecc.c
parentmtd: davinci-nand: disable subpage write for keystone-nand (diff)
downloadlinux-85a3bd978e9180ec22e958f9d5347ace4ff41ef6.tar.xz
linux-85a3bd978e9180ec22e958f9d5347ace4ff41ef6.zip
mtd: nand: add line feed to pr_err
Add line feed to pr_err. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_ecc.c')
-rw-r--r--drivers/mtd/nand/nand_ecc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_ecc.c b/drivers/mtd/nand/nand_ecc.c
index 053c9a2d47c3..97c4c0216c90 100644
--- a/drivers/mtd/nand/nand_ecc.c
+++ b/drivers/mtd/nand/nand_ecc.c
@@ -506,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 */
- pr_err("%s: uncorrectable ECC error", __func__);
+ pr_err("%s: uncorrectable ECC error\n", __func__);
return -1;
}
EXPORT_SYMBOL(__nand_correct_data);