* [PATCH 1/1] CRYPTO: Fix checkpatch errors & warnings in fcrypt.c
@ 2010-02-10 1:35 Richard Hartmann
0 siblings, 0 replies; only message in thread
From: Richard Hartmann @ 2010-02-10 1:35 UTC (permalink / raw)
To: linux-crypto; +Cc: Richard Hartmann, Herbert Xu, David S. Miller, linux-kernel
Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
---
crypto/fcrypt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c
index b82d61f..c33107e 100644
--- a/crypto/fcrypt.c
+++ b/crypto/fcrypt.c
@@ -60,13 +60,13 @@ do { \
u32 t = lo & ((1 << n) - 1); \
lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \
hi = (hi >> n) | (t << (24-n)); \
-} while(0)
+} while (0)
/* Rotate right one 64 bit number as a 56 bit number */
#define ror56_64(k, n) \
do { \
k = (k >> n) | ((k & ((1 << n) - 1)) << (56 - n)); \
-} while(0)
+} while (0)
/*
* Sboxes for Feistel network derived from
@@ -228,7 +228,7 @@ do { \
union lc4 { __be32 l; u8 c[4]; } u; \
u.l = sched ^ R; \
L ^= sbox0[u.c[0]] ^ sbox1[u.c[1]] ^ sbox2[u.c[2]] ^ sbox3[u.c[3]]; \
-} while(0)
+} while (0)
/*
* encryptor
--
1.6.6.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-10 1:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-10 1:35 [PATCH 1/1] CRYPTO: Fix checkpatch errors & warnings in fcrypt.c Richard Hartmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®