[PATCH] Re: 2.6.26-rc5-mm1 - fix parenthesis in drivers/net/smc911x.h

From: Mariusz Kozlowski
Date: Mon Jun 09 2008 - 15:20:18 EST


Parenthesis fix in drivers/net/smc911x.h

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

--- linux-2.6.26-rc5-mm1-a/drivers/net/smc911x.h 2008-06-09 19:22:02.000000000 +0200
+++ linux-2.6.26-rc5-mm1-b/drivers/net/smc911x.h 2008-06-09 19:24:57.000000000 +0200
@@ -177,7 +177,7 @@ static inline void SMC_outsl(struct smc9
}
#else
#if SMC_USE_16BIT
-#define SMC_inl(lp, r) (readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16))
+#define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16))
#define SMC_outl(v, lp, r) \
do{ \
writew(v & 0xFFFF, (lp)->base + (r)); \

--
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/