Skip to content
This repository
Browse code

crypto: fcrypt - Fix checkpatch errors

Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information...
commit 0047e81dc366a0690b4765250c3a1d8caf3797c4 1 parent 5b37c19
Richard Hartmann RichiH authored herbertx committed

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 crypto/fcrypt.c
6 crypto/fcrypt.c
@@ -60,13 +60,13 @@ do { \
60 60 u32 t = lo & ((1 << n) - 1); \
61 61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \
62 62 hi = (hi >> n) | (t << (24-n)); \
63   -} while(0)
  63 +} while (0)
64 64
65 65 /* Rotate right one 64 bit number as a 56 bit number */
66 66 #define ror56_64(k, n) \
67 67 do { \
68 68 k = (k >> n) | ((k & ((1 << n) - 1)) << (56 - n)); \
69   -} while(0)
  69 +} while (0)
70 70
71 71 /*
72 72 * Sboxes for Feistel network derived from
@@ -228,7 +228,7 @@ do { \
228 228 union lc4 { __be32 l; u8 c[4]; } u; \
229 229 u.l = sched ^ R; \
230 230 L ^= sbox0[u.c[0]] ^ sbox1[u.c[1]] ^ sbox2[u.c[2]] ^ sbox3[u.c[3]]; \
231   -} while(0)
  231 +} while (0)
232 232
233 233 /*
234 234 * encryptor

0 comments on commit 0047e81

Please sign in to comment.
Something went wrong with that request. Please try again.