summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-03-21 18:36:54 +1100
committerDavid S. Miller <davem@sunset.davemloft.net>2005-03-21 18:36:54 +1100
commita08c93261904fedc79b0dc3e72c8b421ac8fdcd6 (patch)
treead79b67b821e7b29112627176aaeaab944ef68c6 /crypto
parent942e50534eea3ed324606a6aa335701b105a1465 (diff)
[CRYPTO]: Fix sparse warnings in tea
Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/tea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/tea.c b/crypto/tea.c
index 588a143c1f08..03c23cbd3afa 100644
--- a/crypto/tea.c
+++ b/crypto/tea.c
@@ -31,8 +31,8 @@
#define XTEA_ROUNDS 32
#define XTEA_DELTA 0x9e3779b9
-#define u32_in(x) le32_to_cpu(*(const u32 *)(x))
-#define u32_out(to, from) (*(u32 *)(to) = cpu_to_le32(from))
+#define u32_in(x) le32_to_cpu(*(const __le32 *)(x))
+#define u32_out(to, from) (*(__le32 *)(to) = cpu_to_le32(from))
struct tea_ctx {
u32 KEY[4];