2014-04-08 17:19:59

by Raphael Poggi

[permalink] [raw]
Subject: [PATCH] mtd: nand: add line feed to pr_err

Add line feed to pr_err.

Signed-off-by: RaphaĆ«l Poggi <[email protected]>
---
drivers/mtd/nand/nand_ecc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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);
--
1.8.3.2


2014-04-16 07:19:11

by Brian Norris

[permalink] [raw]
Subject: Re: [PATCH] mtd: nand: add line feed to pr_err

On Tue, Apr 08, 2014 at 10:19:48AM -0700, Rapha?l Poggi wrote:
> Add line feed to pr_err.
>
> Signed-off-by: Rapha?l Poggi <[email protected]>

Pushed to l2-mtd.git. Thanks!

Brian