lkml.org 
[lkml]   [2008]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] Re: 2.6.26-rc5-mm1 - fix parenthesis in drivers/net/smc911x.h
    Date
    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)); \


    \
     
     \ /
      Last update: 2008-06-09 21:23    [W:0.024 / U:0.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site