* [PATCH] volatile unsigned short f(...) doesn't make sense
@ 2005-09-30 3:19 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-09-30 3:19 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Jeff Garzik
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC14-rc2-git6-base/drivers/net/bmac.c current/drivers/net/bmac.c
--- RC14-rc2-git6-base/drivers/net/bmac.c 2005-08-28 23:09:43.000000000 -0400
+++ current/drivers/net/bmac.c 2005-09-29 22:55:03.000000000 -0400
@@ -218,7 +218,7 @@
static inline
-volatile unsigned short bmread(struct net_device *dev, unsigned long reg_offset )
+unsigned short bmread(struct net_device *dev, unsigned long reg_offset )
{
return in_le16((void __iomem *)dev->base_addr + reg_offset);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-30 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 3:19 [PATCH] volatile unsigned short f(...) doesn't make sense Al Viro
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.