* [PATCH] Fix incorrect use of loose in c-checksum.c
@ 2008-12-05 3:07 Nick Andrew
2008-12-08 2:32 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Nick Andrew @ 2008-12-05 3:07 UTC (permalink / raw)
To: Harvey Harrison, Nick Andrew, Paul Mundt, linux-sh
Cc: linux-kernel, Nick Andrew
Fix incorrect use of loose in c-checksum.c
It should be 'lose', not 'loose'.
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
---
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 5c284e0..73c0877 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)
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);
@@ -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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix incorrect use of loose in c-checksum.c
2008-12-05 3:07 [PATCH] Fix incorrect use of loose in c-checksum.c Nick Andrew
@ 2008-12-08 2:32 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-12-08 2:32 UTC (permalink / raw)
To: Nick Andrew; +Cc: Harvey Harrison, linux-sh, linux-kernel
On Fri, Dec 05, 2008 at 02:07:57PM +1100, Nick Andrew wrote:
> Fix incorrect use of loose in c-checksum.c
>
> It should be 'lose', not 'loose'.
>
> Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-08 2:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 3:07 [PATCH] Fix incorrect use of loose in c-checksum.c Nick Andrew
2008-12-08 2:32 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox