mtd: nand: add line feed to pr_err
authorRaphaël Poggi <poggi.raph@gmail.com>
Tue, 8 Apr 2014 17:19:48 +0000 (10:19 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 16 Apr 2014 07:18:26 +0000 (00:18 -0700)
Add line feed to pr_err.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_ecc.c

index 053c9a2d47c3d02daca5589f622bb0e083c67afa..97c4c0216c90727b79bb58425aa9cdd9e2493792 100644 (file)
@@ -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);