Messages in this thread Patch in this message | | | From | Mariusz Kozlowski <> | Subject | [PATCH] Re: 2.6.26-rc5-mm1 - fix parenthesis in drivers/net/smc911x.h | Date | Mon, 9 Jun 2008 21:20:02 +0200 |
| |
Parenthesis fix in drivers/net/smc911x.h
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
--- 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)); \
| |