* [patch 2/4] crypto/sha512.c: fix sparse warnings
@ 2005-03-19 13:18 domen
2005-03-20 11:20 ` [patch 2/4 with proper signed-off] " Domen Puncer
0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:18 UTC (permalink / raw)
To: herbert; +Cc: davem, linux-kernel, domen, adobriyan
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/crypto/sha512.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN crypto/sha512.c~sparse-crypto_sha512 crypto/sha512.c
--- kj/crypto/sha512.c~sparse-crypto_sha512 2005-03-18 20:05:35.000000000 +0100
+++ kj-domen/crypto/sha512.c 2005-03-18 20:05:35.000000000 +0100
@@ -105,7 +105,7 @@ static const u64 sha512_K[80] = {
static inline void LOAD_OP(int I, u64 *W, const u8 *input)
{
- W[I] = __be64_to_cpu( ((u64*)(input))[I] );
+ W[I] = __be64_to_cpu( ((__be64*)(input))[I] );
}
static inline void BLEND_OP(int I, u64 *W)
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 2/4 with proper signed-off] crypto/sha512.c: fix sparse warnings
2005-03-19 13:18 [patch 2/4] crypto/sha512.c: fix sparse warnings domen
@ 2005-03-20 11:20 ` Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2005-03-20 11:20 UTC (permalink / raw)
To: herbert; +Cc: davem, linux-kernel, adobriyan
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/crypto/sha512.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN crypto/sha512.c~sparse-crypto_sha512 crypto/sha512.c
--- kj/crypto/sha512.c~sparse-crypto_sha512 2005-03-20 12:11:34.000000000 +0100
+++ kj-domen/crypto/sha512.c 2005-03-20 12:11:34.000000000 +0100
@@ -105,7 +105,7 @@ static const u64 sha512_K[80] = {
static inline void LOAD_OP(int I, u64 *W, const u8 *input)
{
- W[I] = __be64_to_cpu( ((u64*)(input))[I] );
+ W[I] = __be64_to_cpu( ((__be64*)(input))[I] );
}
static inline void BLEND_OP(int I, u64 *W)
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-20 11:23 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:18 [patch 2/4] crypto/sha512.c: fix sparse warnings domen
2005-03-20 11:20 ` [patch 2/4 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