From: Joshua I. James Date: Fri, 5 Dec 2014 05:38:40 +0000 (+0900) Subject: crypto: af_alg - fixed style error in af_alg.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=267c4221ff574ac70ec0b02b923b16f39b54da1a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Herbert Xu --- 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) if (cmsg->cmsg_level != SOL_ALG) continue; - switch(cmsg->cmsg_type) { + switch (cmsg->cmsg_type) { case ALG_SET_IV: if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv))) return -EINVAL;