summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRaphaël Poggi <poggi.raph@gmail.com>2014-04-08 10:19:48 -0700
committerBrian Norris <computersforpeace@gmail.com>2014-04-16 00:18:26 -0700
commit85a3bd978e9180ec22e958f9d5347ace4ff41ef6 (patch)
treef9cfa62f7465221e843234d3be94ae5101e3187e /drivers
parentb4a812825d18c6aa80f192ddb1a116a2d214c89a (diff)
downloadop-kernel-dev-85a3bd978e9180ec22e958f9d5347ace4ff41ef6.zip
op-kernel-dev-85a3bd978e9180ec22e958f9d5347ace4ff41ef6.tar.gz
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')
-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 053c9a2..97c4c02 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);
OpenPOWER on IntegriCloud