forked from luck/tmp_suning_uos_patched
net: moxa: Add spaces preferred around that '{+,-}'
This patch fixes all checkpatch occurences of "CHECK: spaces preferred around that '{+,-}' (ctx:VxV)" in moxart_ether code. Signed-off-by: SZ Lin <sz.lin@moxa.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2fcc440267
commit
dd4de07f20
|
@ -55,17 +55,17 @@
|
|||
#define RX_DESC2_ADDRESS_VIRT 4
|
||||
|
||||
#define TX_DESC_NUM 64
|
||||
#define TX_DESC_NUM_MASK (TX_DESC_NUM-1)
|
||||
#define TX_DESC_NUM_MASK (TX_DESC_NUM - 1)
|
||||
#define TX_NEXT(N) (((N) + 1) & (TX_DESC_NUM_MASK))
|
||||
#define TX_BUF_SIZE 1600
|
||||
#define TX_BUF_SIZE_MAX (TX_DESC1_BUF_SIZE_MASK+1)
|
||||
#define TX_BUF_SIZE_MAX (TX_DESC1_BUF_SIZE_MASK + 1)
|
||||
#define TX_WAKE_THRESHOLD 16
|
||||
|
||||
#define RX_DESC_NUM 64
|
||||
#define RX_DESC_NUM_MASK (RX_DESC_NUM-1)
|
||||
#define RX_DESC_NUM_MASK (RX_DESC_NUM - 1)
|
||||
#define RX_NEXT(N) (((N) + 1) & (RX_DESC_NUM_MASK))
|
||||
#define RX_BUF_SIZE 1600
|
||||
#define RX_BUF_SIZE_MAX (RX_DESC1_BUF_SIZE_MASK+1)
|
||||
#define RX_BUF_SIZE_MAX (RX_DESC1_BUF_SIZE_MASK + 1)
|
||||
|
||||
#define REG_INTERRUPT_STATUS 0
|
||||
#define REG_INTERRUPT_MASK 4
|
||||
|
|
Loading…
Reference in New Issue
Block a user