git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] arch/i386/crypto/aes.c: fix sparse warnings
[safe/jmp/linux-2.6]
/
arch
/
i386
/
crypto
/
aes.c
diff --git
a/arch/i386/crypto/aes.c
b/arch/i386/crypto/aes.c
index
1019430
..
88ee85c
100644
(file)
--- a/
arch/i386/crypto/aes.c
+++ b/
arch/i386/crypto/aes.c
@@
-59,7
+59,7
@@
struct aes_ctx {
};
#define WPOLY 0x011b
-#define u32_in(x) le32_to_cpu
(*(const u
32 *)(x))
+#define u32_in(x) le32_to_cpu
p((const __le
32 *)(x))
#define bytes2word(b0, b1, b2, b3) \
(((u32)(b3) << 24) | ((u32)(b2) << 16) | ((u32)(b1) << 8) | (b0))