From: Arvind Yadav Date: Tue, 3 Oct 2017 11:43:23 +0000 (+0530) Subject: staging: gs_fpgaboot: pr_err() strings should end with newlines X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe5625b39658fcc7ba49ba5cbfd23b8237dce59f;p=openwrt%2Fstaging%2Fblogic.git staging: gs_fpgaboot: pr_err() strings should end with newlines pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c index bcbdc7340b55..fa8b27e091a2 100644 --- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c +++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c @@ -106,7 +106,7 @@ static int readmagic_bitstream(u8 *bitdata, int *offset) read_bitstream(bitdata, buf, offset, 13); r = memcmp(buf, bits_magic, 13); if (r) { - pr_err("error: corrupted header"); + pr_err("error: corrupted header\n"); return -EINVAL; } pr_info("bitstream file magic number Ok\n");