lkml.org 
[lkml]   [2005]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/net/s2io.h - lvalue fix
Hi all , 

Sorry if I don't send this patch to the maintainer of s2io, but I don't
know who is he.

This patch is based on Kernel 2.6.13 release from the Linus tree.

Is there a process to send patch to the mailing list ?

Best regards,

Stephane

--
Stephane Wirtel <stephane.wirtel@belgacom.net>
<stephane.wirtel@gmail.com>


diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -762,8 +762,8 @@ static inline u64 readq(void __iomem *ad
{
u64 ret = 0;
ret = readl(addr + 4);
- (u64) ret <<= 32;
- (u64) ret |= readl(addr);
+ ret <<= 32;
+ ret |= readl(addr);

return ret;
}
\
 
 \ /
  Last update: 2005-08-30 00:28    [W:0.035 / U:7.868 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site