aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua I. James <joshua@cybercrimetech.com>2014-12-05 00:38:40 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-22 07:02:36 -0500
commit267c4221ff574ac70ec0b02b923b16f39b54da1a (patch)
tree3a30769f8f8b1b1e08c1bcab6eac19c9ca637773
parent4fad478ae0ff7bd27c853a085555317c0dc68704 (diff)
crypto: af_alg - fixed style error in af_alg.c
Fixed style error identified by checkpatch. ERROR: space required before the open parenthesis '(' + switch(cmsg->cmsg_type) { Signed-off-by: Joshua I. James <joshua@cybercrimetech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/af_alg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index 4665b79c729a..8ffc174a0154 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -405,7 +405,7 @@ int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con)
405 if (cmsg->cmsg_level != SOL_ALG) 405 if (cmsg->cmsg_level != SOL_ALG)
406 continue; 406 continue;
407 407
408 switch(cmsg->cmsg_type) { 408 switch (cmsg->cmsg_type) {
409 case ALG_SET_IV: 409 case ALG_SET_IV:
410 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv))) 410 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv)))
411 return -EINVAL; 411 return -EINVAL;