Skip to contentSkip to conversation

crypto/sha512.c: fix sparse warnings

PATCH New Alexey Dobriyan 1 participant 1 message Mar 9, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/sha512.c: fix sparse warnings

crypto/sha512.c +1 -1
Index: linux-2.6.11-bk3-sparse/crypto/sha512.c
===================================================================
@@ -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)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors