diff options
| author | Eric Dumazet <[email protected]> | 2012-01-16 19:27:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-01-17 15:31:12 +0000 |
| commit | 747465ef7a082033e086dedc8189febfda43b015 (patch) | |
| tree | efbdc7a1f25f7bced035077769b4005ea1419abc /net/core/secure_seq.c | |
| parent | net: kill duplicate included header (diff) | |
| download | kernel-747465ef7a082033e086dedc8189febfda43b015.tar.gz kernel-747465ef7a082033e086dedc8189febfda43b015.zip | |
net: fix some sparse errors
make C=2 CF="-D__CHECK_ENDIAN__" M=net
And fix flowi4_init_output() prototype for sport
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/secure_seq.c')
| -rw-r--r-- | net/core/secure_seq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index 6fd44606fdd1..99b2596531bb 100644 --- a/net/core/secure_seq.c +++ b/net/core/secure_seq.c @@ -46,7 +46,7 @@ __u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr, memcpy(hash, saddr, 16); for (i = 0; i < 4; i++) - secret[i] = net_secret[i] + daddr[i]; + secret[i] = net_secret[i] + (__force u32)daddr[i]; secret[4] = net_secret[4] + (((__force u16)sport << 16) + (__force u16)dport); for (i = 5; i < MD5_MESSAGE_BYTES / 4; i++) |
