mtd: nand: add line feed to pr_err

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 10 23:59:02 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=85a3bd978e9180ec22e958f9d5347ace4ff41ef6
Commit:     85a3bd978e9180ec22e958f9d5347ace4ff41ef6
Parent:     b4a812825d18c6aa80f192ddb1a116a2d214c89a
Author:     Raphaël Poggi <poggi.raph at gmail.com>
AuthorDate: Tue Apr 8 10:19:48 2014 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Apr 16 00:18:26 2014 -0700

    mtd: nand: add line feed to pr_err
    
    Add line feed to pr_err.
    
    Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 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);



More information about the linux-mtd-cvs mailing list