Commit 1fdae0e5 authored by Nick Andrew's avatar Nick Andrew Committed by Paul Mundt

Fix incorrect use of loose in c-checksum.c

Fix incorrect use of loose in c-checksum.c

It should be 'lose', not 'loose'.
Signed-off-by: default avatarNick Andrew <nick@nick-andrew.net>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 77ba93a7
...@@ -35,7 +35,7 @@ static inline unsigned short foldto16(unsigned long x) ...@@ -35,7 +35,7 @@ static inline unsigned short foldto16(unsigned long x)
static inline unsigned short myfoldto16(unsigned long long x) static inline unsigned short myfoldto16(unsigned long long x)
{ {
/* Fold down to 32-bits so we don't loose in the typedef-less /* Fold down to 32-bits so we don't lose in the typedef-less
network stack. */ network stack. */
/* 64 to 33 */ /* 64 to 33 */
x = (x & 0xffffffff) + (x >> 32); x = (x & 0xffffffff) + (x >> 32);
...@@ -199,7 +199,7 @@ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, ...@@ -199,7 +199,7 @@ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
result = (__force u64) saddr + (__force u64) daddr + result = (__force u64) saddr + (__force u64) daddr +
(__force u64) sum + ((len + proto) << 8); (__force u64) sum + ((len + proto) << 8);
/* Fold down to 32-bits so we don't loose in the typedef-less /* Fold down to 32-bits so we don't lose in the typedef-less
network stack. */ network stack. */
/* 64 to 33 */ /* 64 to 33 */
result = (result & 0xffffffff) + (result >> 32); result = (result & 0xffffffff) + (result >> 32);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment