Skip to content

Commit

Permalink
Fix incorrect use of loose in c-checksum.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nick Andrew authored and Paul Mundt committed Dec 22, 2008
1 parent 77ba93a commit 1fdae0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh/lib64/c-checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static inline unsigned short foldto16(unsigned 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. */
/* 64 to 33 */
x = (x & 0xffffffff) + (x >> 32);
Expand Down Expand Up @@ -199,7 +199,7 @@ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
result = (__force u64) saddr + (__force u64) daddr +
(__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. */
/* 64 to 33 */
result = (result & 0xffffffff) + (result >> 32);
Expand Down

0 comments on commit 1fdae0e

Please sign in to comment.