* [patch 10/10] arch/i386/crypto/aes.c: fix sparse warnings
@ 2005-03-19 13:17 domen
2005-03-20 11:17 ` [patch 10/10 with proper signed-off] " Domen Puncer
0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:17 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, domen, adobriyan
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/arch/i386/crypto/aes.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/crypto/aes.c~sparse-arch_i386_crypto_aes arch/i386/crypto/aes.c
--- kj/arch/i386/crypto/aes.c~sparse-arch_i386_crypto_aes 2005-03-18 20:05:21.000000000 +0100
+++ kj-domen/arch/i386/crypto/aes.c 2005-03-18 20:05:21.000000000 +0100
@@ -59,7 +59,7 @@ struct aes_ctx {
};
#define WPOLY 0x011b
-#define u32_in(x) le32_to_cpu(*(const u32 *)(x))
+#define u32_in(x) le32_to_cpup((const __le32 *)(x))
#define bytes2word(b0, b1, b2, b3) \
(((u32)(b3) << 24) | ((u32)(b2) << 16) | ((u32)(b1) << 8) | (b0))
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 10/10 with proper signed-off] arch/i386/crypto/aes.c: fix sparse warnings
2005-03-19 13:17 [patch 10/10] arch/i386/crypto/aes.c: fix sparse warnings domen
@ 2005-03-20 11:17 ` Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2005-03-20 11:17 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, adobriyan
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/arch/i386/crypto/aes.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/crypto/aes.c~sparse-arch_i386_crypto_aes arch/i386/crypto/aes.c
--- kj/arch/i386/crypto/aes.c~sparse-arch_i386_crypto_aes 2005-03-20 12:11:21.000000000 +0100
+++ kj-domen/arch/i386/crypto/aes.c 2005-03-20 12:11:21.000000000 +0100
@@ -59,7 +59,7 @@ struct aes_ctx {
};
#define WPOLY 0x011b
-#define u32_in(x) le32_to_cpu(*(const u32 *)(x))
+#define u32_in(x) le32_to_cpup((const __le32 *)(x))
#define bytes2word(b0, b1, b2, b3) \
(((u32)(b3) << 24) | ((u32)(b2) << 16) | ((u32)(b1) << 8) | (b0))
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-20 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 13:17 [patch 10/10] arch/i386/crypto/aes.c: fix sparse warnings domen
2005-03-20 11:17 ` [patch 10/10 with proper signed-off] " Domen Puncer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox