hwrng: core - pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 07:45:00 +0000 (13:15 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:54:49 +0000 (22:54 +0800)
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c

index 9701ac7d8b4712cb15337eac68da7a082e202cf6..ff79844890aba135b343718a7ef572ca0b7bb506 100644 (file)
@@ -423,7 +423,7 @@ static void start_khwrngd(void)
 {
        hwrng_fill = kthread_run(hwrng_fillfn, NULL, "hwrng");
        if (IS_ERR(hwrng_fill)) {
-               pr_err("hwrng_fill thread creation failed");
+               pr_err("hwrng_fill thread creation failed\n");
                hwrng_fill = NULL;
        }
 }