Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel
[PATCH] [staging] bcm: Fix codingstyle problems
 

Index | Next | Previous | View Flat


devendra.aaru at gmail

May 27, 2012, 1:54 PM


Views: 101
Permalink
[PATCH] [staging] bcm: Fix codingstyle problems

Signed-off-by: Devendra Naga <devendra.aaru [at] gmail>
---
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

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

Subject User Time
[PATCH] [staging] bcm: Fix codingstyle problems devendra.aaru at gmail May 27, 2012, 1:54 PM
    Re: [PATCH] [staging] bcm: Fix codingstyle problems klmckinney1 at gmail May 27, 2012, 7:30 PM
    Re: [PATCH] [staging] bcm: Fix codingstyle problems joe at perches May 27, 2012, 7:38 PM
        Re: [PATCH] [staging] bcm: Fix codingstyle problems devendra.aaru at gmail May 27, 2012, 9:23 PM
    Re: [PATCH] [staging] bcm: Fix codingstyle problems devendra.aaru at gmail May 27, 2012, 9:17 PM
    Re: [PATCH] [staging] bcm: Fix codingstyle problems joe at perches May 27, 2012, 9:37 PM
        Re: [PATCH] [staging] bcm: Fix codingstyle problems devendra.aaru at gmail May 28, 2012, 12:22 AM
        Re: [PATCH] [staging] bcm: Fix codingstyle problems dan.carpenter at oracle May 28, 2012, 2:34 AM
            Re: [PATCH] [staging] bcm: Fix codingstyle problems joe at perches May 28, 2012, 8:02 AM
            Re: [PATCH] [staging] bcm: Fix codingstyle problems klmckinney1 at gmail May 28, 2012, 1:58 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.