diff options
| author | Krunal Soni <ksoni@codeaurora.org> | 2016-07-07 16:12:07 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-08-13 14:07:28 -0700 |
| commit | bf5840bd7da19c8d5d98202ca04974874355d09b (patch) | |
| tree | 9bfa23c9b24bd133e81e5a60b8ce77d134d1875f /target | |
| parent | 2284cf17875bdf634cc66b4950e2ca1eb96fb8c3 (diff) | |
qcacld-3.0: Fix to resolve checkpatch errors
In current code base, some of files are not meeting linux coding
standard.
Fix them to satisfy coding standard.
Change-Id: Iedb1ec9ad7c75cb9f7ef97b19f14dca3b5eb9b6c
CRs-Fixed: 1051212
Diffstat (limited to 'target')
| -rw-r--r-- | target/inc/dbglog.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/target/inc/dbglog.h b/target/inc/dbglog.h index 5514ca22f9cb..d3179a7ae92e 100644 --- a/target/inc/dbglog.h +++ b/target/inc/dbglog.h @@ -38,22 +38,27 @@ extern "C" { #endif #define DBGLOG_TIMESTAMP_OFFSET 0 -#define DBGLOG_TIMESTAMP_MASK 0xFFFFFFFF /* Bit 0-15. Contains bit - 8-23 of the LF0 timer */ + +/* Bit 0-15. Contains bit 8-23 of the LF0 timer */ +#define DBGLOG_TIMESTAMP_MASK 0xFFFFFFFF #define DBGLOG_DBGID_OFFSET 0 + #define DBGLOG_DBGID_MASK 0x000003FF /* Bit 0-9 */ -#define DBGLOG_DBGID_NUM_MAX 256 /* Upper limit is width of mask */ +/* Upper limit is width of mask */ +#define DBGLOG_DBGID_NUM_MAX 256 #define DBGLOG_MODULEID_OFFSET 10 #define DBGLOG_MODULEID_MASK 0x0003FC00 /* Bit 10-17 */ -#define DBGLOG_MODULEID_NUM_MAX 32 /* Upper limit is width of mask */ +/* Upper limit is width of mask */ +#define DBGLOG_MODULEID_NUM_MAX 32 + +#define DBGLOG_VDEVID_OFFSET 18 +#define DBGLOG_VDEVID_MASK 0x03FC0000 /* Bit 20-25 */ +#define DBGLOG_VDEVID_NUM_MAX 16 -#define DBGLOG_VDEVID_OFFSET 18 -#define DBGLOG_VDEVID_MASK 0x03FC0000 /* Bit 20-25 */ -#define DBGLOG_VDEVID_NUM_MAX 16 +#define DBGLOG_NUM_ARGS_OFFSET 26 +#define DBGLOG_NUM_ARGS_MASK 0xFC000000 /* Bit 26-31 */ -#define DBGLOG_NUM_ARGS_OFFSET 26 -#define DBGLOG_NUM_ARGS_MASK 0xFC000000 /* Bit 26-31 */ /* it is limited bcoz of limitations of corebsp MSG*() to accept max 9 arg */ #define DBGLOG_NUM_ARGS_MAX 9 @@ -80,7 +85,7 @@ extern "C" { /* Debug Log levels*/ -typedef enum { +enum DBGLOG_LOG_LVL { DBGLOG_VERBOSE = 0, DBGLOG_INFO, DBGLOG_INFO_LVL_1, @@ -88,7 +93,7 @@ typedef enum { DBGLOG_WARN, DBGLOG_ERR, DBGLOG_LVL_MAX -} DBGLOG_LOG_LVL; +}; PREPACK struct dbglog_buf_s { struct dbglog_buf_s *next; |
