[PATCH] crypto/testmgr: add missing spaces to drbg error strings

From: Jarod Wilson
Date: Tue Jul 29 2014 - 15:50:20 EST


There are a few missing spaces in the error text strings for
drbg_cavs_test, trivial fix.

CC: Stephan Mueller <smueller@xxxxxxxxxx>
CC: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
CC: linux-crypto@xxxxxxxxxxxxxxx
Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>
---
crypto/testmgr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 81818b9..ac2b631 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1778,7 +1778,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,

drng = crypto_alloc_rng(driver, type, mask);
if (IS_ERR(drng)) {
- printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for"
+ printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for "
"%s\n", driver);
kzfree(buf);
return -ENOMEM;
@@ -1803,7 +1803,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,
buf, test->expectedlen, &addtl);
}
if (ret <= 0) {
- printk(KERN_ERR "alg: drbg: could not obtain random data for"
+ printk(KERN_ERR "alg: drbg: could not obtain random data for "
"driver %s\n", driver);
goto outbuf;
}
@@ -1818,7 +1818,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,
buf, test->expectedlen, &addtl);
}
if (ret <= 0) {
- printk(KERN_ERR "alg: drbg: could not obtain random data for"
+ printk(KERN_ERR "alg: drbg: could not obtain random data for "
"driver %s\n", driver);
goto outbuf;
}
--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/