diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-10-03 14:43:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-03 19:36:25 +0300 |
commit | fe5625b39658fcc7ba49ba5cbfd23b8237dce59f (patch) | |
tree | fb82aff585638afbecc17c76fc92b95629a2c73d /drivers/staging/gs_fpgaboot/gs_fpgaboot.c | |
parent | b9fd63ea2b027dc14e6f91871be7ed8de2ffa2b1 (diff) | |
download | linux-fe5625b39658fcc7ba49ba5cbfd23b8237dce59f.tar.xz |
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 <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gs_fpgaboot/gs_fpgaboot.c')
-rw-r--r-- | drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |