projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9472d76
)
crypto: des_generic - Fix checkpatch errors
author
Richard Hartmann
<richih.mailinglist@gmail.com>
Tue, 16 Feb 2010 12:32:31 +0000
(20:32 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 16 Feb 2010 12:32:31 +0000
(20:32 +0800)
Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/des_generic.c
patch
|
blob
|
history
diff --git
a/crypto/des_generic.c
b/crypto/des_generic.c
index 5bd3ee345a64d8e60604a32097818a3a3d369a46..249f903cc453b201270bb2db5c33be1856a5d324 100644
(file)
--- a/
crypto/des_generic.c
+++ b/
crypto/des_generic.c
@@
-869,8
+869,7
@@
static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key,
if (unlikely(!((K[0] ^ K[2]) | (K[1] ^ K[3])) ||
!((K[2] ^ K[4]) | (K[3] ^ K[5]))) &&
- (*flags & CRYPTO_TFM_REQ_WEAK_KEY))
- {
+ (*flags & CRYPTO_TFM_REQ_WEAK_KEY)) {
*flags |= CRYPTO_TFM_RES_WEAK_KEY;
return -EINVAL;
}