[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200612042306.kB4N65mh008020@shell0.pdx.osdl.net>
Date: Mon, 04 Dec 2006 15:04:56 -0800
From: akpm@...l.org
To: jeff@...zik.org
Cc: netdev@...r.kernel.org, akpm@...l.org, m.kozlowski@...land.pl
Subject: [patch 8/8] net: smc91x add missing bracket
From: Mariusz Kozlowski <m.kozlowski@...land.pl>
Signed-off-by: Mariusz Kozlowski <m.kozlowski@...land.pl>
Signed-off-by: Andrew Morton <akpm@...l.org>
---
drivers/net/smc91x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/smc91x.h~net-smc91x-add-missing-bracket drivers/net/smc91x.h
--- a/drivers/net/smc91x.h~net-smc91x-add-missing-bracket
+++ a/drivers/net/smc91x.h
@@ -238,7 +238,7 @@ SMC_outw(u16 val, void __iomem *ioaddr,
#define SMC_CAN_USE_16BIT 1
#define SMC_CAN_USE_32BIT 0
-#define SMC_inb(a, r) inb((u32)a) + (r))
+#define SMC_inb(a, r) inb(((u32)a) + (r))
#define SMC_inw(a, r) inw(((u32)a) + (r))
#define SMC_outb(v, a, r) outb(v, ((u32)a) + (r))
#define SMC_outw(v, a, r) outw(v, ((u32)a) + (r))
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists