lkml.org 
[lkml]   [2012]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [staging] bcm: Fix codingstyle problems
    Date
    Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
    ---
    drivers/staging/bcm/Debug.h | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h
    index 420382d..9b5ab4b 100644
    --- a/drivers/staging/bcm/Debug.h
    +++ b/drivers/staging/bcm/Debug.h
    @@ -240,16 +240,16 @@ typedef struct _S_BCM_DEBUG_STATE {
    print_hex_dump(KERN_DEBUG, " ", DUMP_PREFIX_OFFSET, \
    16, 1, buffer, bufferlen, false); \
    } \
    -} while(0)
    +} while (0)


    #define BCM_SHOW_DEBUG_BITMAP(Adapter) do { \
    int i; \
    - for (i=0; i<(NUMTYPES*2)+1; i++) { \
    + for (i = 0; i < (NUMTYPES * 2) + 1; i++) { \
    if ((i == 1) || (i == 2) || (i == 4) || (i == 8)) { \
    /* CAUTION! Forcefully turn on ALL debug paths and subpaths! \
    Adapter->stDebugState.subtype[i] = 0xffffffff; */ \
    - BCM_DEBUG_PRINT (Adapter, DBG_TYPE_PRINTK, 0, 0, "subtype[%d] = 0x%08x\n", \
    + BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "subtype[%d] = 0x%08x\n", \
    i, Adapter->stDebugState.subtype[i]); \
    } \
    } \
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2012-05-27 23:41    [W:0.024 / U:1.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site