diff options
author | Mark Einon <mark.einon@gmail.com> | 2010-11-06 10:45:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:26:20 -0500 |
commit | c6cbadeb3afd9471e539791842877d085f367746 (patch) | |
tree | a6a45a735c26f4d17d698bee2e0e767f7772cbe8 /drivers/net/wireless/rt2x00 | |
parent | bf1b15125e2aa245ddd9348f80d041d4f1fd13a9 (diff) |
rt2x00: checkpatch.pl error fixes for rt2800pci.h
rt2800pci.h:41: ERROR: Macros with complex values should be enclosed in parenthesis
rt2800pci.h:42: ERROR: Macros with complex values should be enclosed in parenthesis
rt2800pci.h:43: ERROR: Macros with complex values should be enclosed in parenthesis
rt2800pci.h:44: ERROR: Macros with complex values should be enclosed in parenthesis
rt2800pci.h:55: ERROR: space prohibited after that open parenthesis '('
rt2800pci.h:55: ERROR: space prohibited before that close parenthesis ')'
rt2800pci.h:56: ERROR: space prohibited after that open parenthesis '('
rt2800pci.h:56: ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.h b/drivers/net/wireless/rt2x00/rt2800pci.h index 5a8dda9b5b5a..70e050d904c8 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.h +++ b/drivers/net/wireless/rt2x00/rt2800pci.h | |||
@@ -38,10 +38,10 @@ | |||
38 | * Queue register offset macros | 38 | * Queue register offset macros |
39 | */ | 39 | */ |
40 | #define TX_QUEUE_REG_OFFSET 0x10 | 40 | #define TX_QUEUE_REG_OFFSET 0x10 |
41 | #define TX_BASE_PTR(__x) TX_BASE_PTR0 + ((__x) * TX_QUEUE_REG_OFFSET) | 41 | #define TX_BASE_PTR(__x) (TX_BASE_PTR0 + ((__x) * TX_QUEUE_REG_OFFSET)) |
42 | #define TX_MAX_CNT(__x) TX_MAX_CNT0 + ((__x) * TX_QUEUE_REG_OFFSET) | 42 | #define TX_MAX_CNT(__x) (TX_MAX_CNT0 + ((__x) * TX_QUEUE_REG_OFFSET)) |
43 | #define TX_CTX_IDX(__x) TX_CTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET) | 43 | #define TX_CTX_IDX(__x) (TX_CTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) |
44 | #define TX_DTX_IDX(__x) TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET) | 44 | #define TX_DTX_IDX(__x) (TX_DTX_IDX0 + ((__x) * TX_QUEUE_REG_OFFSET)) |
45 | 45 | ||
46 | /* | 46 | /* |
47 | * 8051 firmware image. | 47 | * 8051 firmware image. |
@@ -52,8 +52,8 @@ | |||
52 | /* | 52 | /* |
53 | * DMA descriptor defines. | 53 | * DMA descriptor defines. |
54 | */ | 54 | */ |
55 | #define TXD_DESC_SIZE ( 4 * sizeof(__le32) ) | 55 | #define TXD_DESC_SIZE (4 * sizeof(__le32)) |
56 | #define RXD_DESC_SIZE ( 4 * sizeof(__le32) ) | 56 | #define RXD_DESC_SIZE (4 * sizeof(__le32)) |
57 | 57 | ||
58 | /* | 58 | /* |
59 | * TX descriptor format for TX, PRIO and Beacon Ring. | 59 | * TX descriptor format for TX, PRIO and Beacon Ring. |