diff options
author | Nick Andrew <nick@nick-andrew.net> | 2008-12-04 22:07:57 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:43:52 -0500 |
commit | 1fdae0e59a3fc9e391d2422ddcfbdbdec1e8f724 (patch) | |
tree | 1d72b295fb8d711606f3eda8a5989634e6d79b46 /arch/sh/lib64 | |
parent | 77ba93a7ac5fb0d9338bffbf97c787b8efe00806 (diff) |
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: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib64')
-rw-r--r-- | arch/sh/lib64/c-checksum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/lib64/c-checksum.c b/arch/sh/lib64/c-checksum.c index 5c284e0cff9c..73c0877e3a29 100644 --- a/arch/sh/lib64/c-checksum.c +++ b/arch/sh/lib64/c-checksum.c | |||
@@ -35,7 +35,7 @@ static inline unsigned short foldto16(unsigned long x) | |||
35 | 35 | ||
36 | static inline unsigned short myfoldto16(unsigned long long x) | 36 | static inline unsigned short myfoldto16(unsigned long long x) |
37 | { | 37 | { |
38 | /* Fold down to 32-bits so we don't loose in the typedef-less | 38 | /* Fold down to 32-bits so we don't lose in the typedef-less |
39 | network stack. */ | 39 | network stack. */ |
40 | /* 64 to 33 */ | 40 | /* 64 to 33 */ |
41 | x = (x & 0xffffffff) + (x >> 32); | 41 | x = (x & 0xffffffff) + (x >> 32); |
@@ -199,7 +199,7 @@ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, | |||
199 | result = (__force u64) saddr + (__force u64) daddr + | 199 | result = (__force u64) saddr + (__force u64) daddr + |
200 | (__force u64) sum + ((len + proto) << 8); | 200 | (__force u64) sum + ((len + proto) << 8); |
201 | 201 | ||
202 | /* Fold down to 32-bits so we don't loose in the typedef-less | 202 | /* Fold down to 32-bits so we don't lose in the typedef-less |
203 | network stack. */ | 203 | network stack. */ |
204 | /* 64 to 33 */ | 204 | /* 64 to 33 */ |
205 | result = (result & 0xffffffff) + (result >> 32); | 205 | result = (result & 0xffffffff) + (result >> 32); |