[PATCH] volatile unsigned short f(...) doesn't make sense
From: Al Viro (viro_at_ftp.linux.org.uk)
Date: 09/30/05
- Previous message: Randy.Dunlap: "Re: [ANNOUNCE] Framework for automatic Configuration of a Kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Sep 2005 04:19:43 +0100 To: Linus Torvalds <torvalds@osdl.org>
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);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Randy.Dunlap: "Re: [ANNOUNCE] Framework for automatic Configuration of a Kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|