linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Hartmann <richih.mailinglist@gmail.com>
To: linux-crypto@vger.kernel.org
Cc: Richard Hartmann <richih.mailinglist@gmail.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	Steffen Klassert <steffen.klassert@secunet.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 19/19] crypto: xcbc - Fix checkpatch errors
Date: Fri, 19 Feb 2010 01:24:03 +0100	[thread overview]
Message-ID: <1266539044-3716-1-git-send-email-richih.mailinglist@gmail.com> (raw)


Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
---
 crypto/xcbc.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/xcbc.c b/crypto/xcbc.c
index bb7b67f..63e9181 100644
--- a/crypto/xcbc.c
+++ b/crypto/xcbc.c
@@ -24,8 +24,8 @@
 #include <linux/kernel.h>
 
 static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101,
-			   0x02020202, 0x02020202, 0x02020202, 0x02020202,
-			   0x03030303, 0x03030303, 0x03030303, 0x03030303};
+                           0x02020202, 0x02020202, 0x02020202, 0x02020202,
+                           0x03030303, 0x03030303, 0x03030303, 0x03030303};
 
 /*
  * +------------------------
@@ -158,7 +158,7 @@ static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out)
 		*p = 0x80;
 		p++;
 
-		rlen = bs - ctx->len -1;
+		rlen = bs - ctx->len - 1;
 		if (rlen)
 			memset(p, 0, rlen);
 
@@ -211,7 +211,7 @@ static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb)
 	if (IS_ERR(alg))
 		return PTR_ERR(alg);
 
-	switch(alg->cra_blocksize) {
+	switch (alg->cra_blocksize) {
 	case 16:
 		break;
 	default:
-- 
1.6.6.1


                 reply	other threads:[~2010-02-19  0:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1266539044-3716-1-git-send-email-richih.mailinglist@gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).