2010-02-19 00:23:35

by Richard Hartmann

[permalink] [raw]
Subject: [PATCH 15/19] crypto: testmgr - Fix checkpatch errors


Signed-off-by: Richard Hartmann <[email protected]>
---
crypto/testmgr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 7620bfc..520127a 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -657,7 +657,7 @@ static int test_cipher(struct crypto_cipher *tfm, int enc,
goto out_nobuf;

if (enc == ENCRYPT)
- e = "encryption";
+ e = "encryption";
else
e = "decryption";

@@ -737,7 +737,7 @@ static int test_skcipher(struct crypto_ablkcipher *tfm, int enc,
goto out_nobuf;

if (enc == ENCRYPT)
- e = "encryption";
+ e = "encryption";
else
e = "decryption";

@@ -952,7 +952,7 @@ static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate,
int ilen;
unsigned int dlen = COMP_BUF_SIZE;

- memset(result, 0, sizeof (result));
+ memset(result, 0, sizeof(result));

ilen = ctemplate[i].inlen;
ret = crypto_comp_compress(tfm, ctemplate[i].input,
@@ -985,7 +985,7 @@ static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate,
int ilen;
unsigned int dlen = COMP_BUF_SIZE;

- memset(result, 0, sizeof (result));
+ memset(result, 0, sizeof(result));

ilen = dtemplate[i].inlen;
ret = crypto_comp_decompress(tfm, dtemplate[i].input,
--
1.6.6.1