aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-09-25 13:15:00 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2017-10-12 22:54:49 +0800
commit4d0ec22943301f827ac2800b7eb3531fb6d7447b (patch)
tree7a6066f55acb2808bb5e618f08fc636396b466fe /drivers
parentd38efad2bf1c27fcb375dee9ac8c5c99e02ab38c (diff)
downloadlinux-4d0ec22943301f827ac2800b7eb3531fb6d7447b.tar.gz
hwrng: core - pr_err() strings should end with newlines
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/hw_random/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index 9701ac7d8b47..ff79844890ab 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -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;
}
}