Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f2e1477 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: Fix all white space issues in Debug.h



This patch fixes all white space issues in
Debug.h as reported by checkpatch.pl.

Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5485e9c
Loading
Loading
Loading
Loading
+111 −123
Original line number Diff line number Diff line
@@ -9,9 +9,7 @@
#include <linux/string.h>
#define NONE 0xFFFF


//--------------------------------------------------------------------------------

/* TYPE and SUBTYPE
 * Define valid TYPE (or category or code-path, however you like to think of it)
 * and SUBTYPE s.
@@ -24,7 +22,6 @@
#define DBG_TYPE_OTHERS		(1 << 3)	// 8
/*-----------------END TYPEs------------------------------------------*/
#define NUMTYPES		4		// careful!

/*-----------------BEGIN SUBTYPEs---------------------------------------*/

/*-SUBTYPEs for TX :  TYPE is DBG_TYPE_TX -----//
@@ -59,7 +56,6 @@
//TX_Misc
#define TX_OSAL_DBG	(TX << 17)


//--SUBTYPEs for ------INIT & EXIT---------------------
/*------------ TYPE is DBG_TYPE_INITEXIT -----//
DriverEntry.c, bcmfwup.c, ChipDetectTask.c, HaltnReset.c, InterfaceDDR.c */
@@ -73,7 +69,6 @@ DriverEntry.c, bcmfwup.c, ChipDetectTask.c, HaltnReset.c, InterfaceDDR.c */
#define INIT_DISP	(MP << 6)
#define RX_INIT		(MP << 7)


//-SUBTYPEs for --RX----------------------------------
//------------RX  :  TYPE is DBG_TYPE_RX -----//
// Receive.c
@@ -84,14 +79,12 @@ DriverEntry.c, bcmfwup.c, ChipDetectTask.c, HaltnReset.c, InterfaceDDR.c */
#define MP_RETURN	(RX << 1)
#define LINK_MSG	(RX << 2)


//-SUBTYPEs for ----OTHER ROUTINES------------------
//------------OTHERS  :  TYPE is DBG_TYPE_OTHER -----//
// HaltnReset,CheckForHang,PnP,Misc,CmHost
// total 12 macros
#define OTHERS		1
// ??ISR.C

#define ISR		OTHERS
#define MP_DPC		(ISR << 0)

@@ -117,11 +110,8 @@ DriverEntry.c, bcmfwup.c, ChipDetectTask.c, HaltnReset.c, InterfaceDDR.c */

// CmHost.c
#define CMHOST		OTHERS


#define SERIAL		(OTHERS << 12)
#define IDLE_MODE	(OTHERS << 13)

#define WRM		(OTHERS << 14)
#define RDM		(OTHERS << 15)

@@ -145,7 +135,6 @@ DriverEntry.c, bcmfwup.c, ChipDetectTask.c, HaltnReset.c, InterfaceDDR.c */
#define CONN_MSG	(CMHOST << 29)
/*-----------------END SUBTYPEs------------------------------------------*/


/* Debug level
 * We have 8 debug levels, in (numerical) increasing order of verbosity.
 * IMP: Currently implementing ONLY DBG_LVL_ALL , i.e. , all debug prints will
@@ -225,7 +214,8 @@ typedef struct _S_BCM_DEBUG_STATE {
		}							\
	} while (0)

#define BCM_DEBUG_PRINT_BUFFER(Adapter, Type, SubType, dbg_level,  buffer, bufferlen) do { \
#define BCM_DEBUG_PRINT_BUFFER(Adapter, Type, SubType, dbg_level,  buffer, bufferlen) \
	do {								\
		if (DBG_TYPE_PRINTK == Type ||				\
			(Adapter &&					\
				(dbg_level & DBG_LVL_BITMASK) <= Adapter->stDebugState.debug_level  && \
@@ -237,7 +227,6 @@ typedef struct _S_BCM_DEBUG_STATE {
		}							\
	} while (0)


#define BCM_SHOW_DEBUG_BITMAP(Adapter) do {			\
	int i;							\
	for (i = 0; i < (NUMTYPES * 2) + 1; i++) {		\
@@ -251,4 +240,3 @@ typedef struct _S_BCM_DEBUG_STATE {
} while (0)

#endif