Message ID | 1417757920-11886-1-git-send-email-Joshua@cybercrimetech.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
On Fri, Dec 05, 2014 at 02:38:40PM +0900, Joshua I. James wrote: > From: "Joshua I. James" <joshua@cybercrimetech.com> > > 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> > --- > crypto/af_alg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Subject line, and this change really doesn't justify a patch by itself. If Herbert prefers them merged into one, I'd include this change, otherwise, I'd drop it. It'd also be a good idea to run ./scripts/get_maintainer.pl on your patch to determine who to include in the To/Cc on the next version of this series. thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/crypto/af_alg.c b/crypto/af_alg.c index 6a3ad80..b01deb4 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;