All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/net/s2io.h - lvalue fix
@ 2005-08-29 22:24 Stephane Wirtel
  2005-08-29 22:43 ` Jesper Juhl
  0 siblings, 1 reply; 4+ messages in thread
From: Stephane Wirtel @ 2005-08-29 22:24 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

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>



[-- Attachment #2: patch_lvalue_s2io.diff --]
[-- Type: text/plain, Size: 310 bytes --]

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;
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-30  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 22:24 [PATCH] drivers/net/s2io.h - lvalue fix Stephane Wirtel
2005-08-29 22:43 ` Jesper Juhl
2005-08-29 23:07   ` Stephane Wirtel
2005-08-30  7:22     ` Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.