Skip to content

Commit

Permalink
crypto: af_alg - fixed style error in af_alg.c
Browse files Browse the repository at this point in the history
Fixed style error identified by checkpatch.

ERROR: space required before the open parenthesis '('
+               switch(cmsg->cmsg_type) {

Signed-off-by: Joshua I. James <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
hvva authored and herbertx committed Dec 22, 2014
1 parent 4fad478 commit 267c422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/af_alg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 267c422

Please sign in to comment.