Skip to contentSkip to conversation

crypto/testmgr: add missing spaces to drbg error strings

PATCH In review Jarod Wilson 3 participants 3 messages Jul 29, 2014 – Aug 1, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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

CC Stephan Mueller <[email protected]>
CC Herbert Xu <[email protected]>
CC "David S. Miller" <[email protected]>
---
 crypto/testmgr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
crypto/testmgr.c +3 -3
index 81818b9..ac2b631 100644
@@ -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;
 	}
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw

Am Dienstag, 29. Juli 2014, 15:47:56 schrieb Jarod Wilson:

Hi Jarod,

Quoted 2 lines

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

Thanks a lot.

Quoted 6 lines
CC Stephan Mueller <[email protected]>
CC Herbert Xu <[email protected]>
CC "David S. Miller" <[email protected]>

Ciao
Stephan

maintainer
#2 lore raw
Quoted 9 lines · Stephan Mueller

Am Dienstag, 29. Juli 2014, 15:47:56 schrieb Jarod Wilson:

Hi Jarod,

Quoted 2 lines

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

Thanks a lot.

Quoted 1 line
Quoted 7 lines
Quoted 5 lines
CC Stephan Mueller <[email protected]>
CC Herbert Xu <[email protected]>
CC "David S. Miller" <[email protected]>

Patch applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt