[PATCH] net: smc91x add missing bracket

From: Mariusz Kozlowski
Date: Thu Nov 30 2006 - 03:40:07 EST


Hello,

This patch adds missing bracket.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

drivers/net/smc91x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2-a/drivers/net/smc91x.h 2006-11-28 12:16:43.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/drivers/net/smc91x.h 2006-11-30 00:55:12.000000000 +0100
@@ -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))


--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/