ethernet: 3com: 3c574_cs: Add space around '='
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 ethernet: 3com: 3c574_cs: Add space around '='
Fix checkpatch warnings:
./drivers/net/ethernet/3com/3c574_cs.c:171: ERROR: spaces required around that '=' (ctx:VxV) ./drivers/net/ethernet/3com/3c574_cs.c:177: ERROR: spaces required around that '=' (ctx:VxV) ./drivers/net/ethernet/3com/3c574_cs.c:177: ERROR: spaces required around that '=' (ctx:VxV) ./drivers/net/ethernet/3com/3c574_cs.c:177: ERROR: spaces required around that '=' (ctx:VxV) ./drivers/net/ethernet/3com/3c574_cs.c:192: ERROR: spaces required around that '=' (ctx:VxV)
Signed-off-by maqimei <[email protected]>
--- drivers/net/ethernet/3com/3c574_cs.c | 6 +++--- drivers/net/ethernet/myricom/myri10ge/myri10ge.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/3com/3c574_cs.c +3 -3
@@ -168,13 +168,13 @@ enum Win0_EEPROM_cmds {Except for TxFree, which is overlapped by RunnerWrCtrl. */ enum Window1 {TX_FIFO =0x10 ,RX_FIFO =0x10 , RxErrors =0x14 , - RxStatus =0x18 , Timer=0x1A , TxStatus =0x1B , + RxStatus =0x18 , Timer =0x1A , TxStatus =0x1B , TxFree =0x0C ,/* Remaining free bytes in Tx buffer. */ RunnerRdCtrl =0x16 , RunnerWrCtrl =0x1c , };enum Window3 {/* Window 3: MAC/config bits. */ - Wn3_Config=0 , Wn3_MAC_Ctrl=6 , Wn3_Options=8 , + Wn3_Config =0 , Wn3_MAC_Ctrl =6 , Wn3_Options =8 , };enum wn3_config { Ram_size =7 ,
@@ -189,7 +189,7 @@ enum wn3_config { };enum Window4 {/* Window 4: Xcvr/media bits. */ - Wn4_FIFODiag =4 , Wn4_NetDiag =6 , Wn4_PhysicalMgmt=8 , Wn4_Media =10 , + Wn4_FIFODiag =4 , Wn4_NetDiag =6 , Wn4_PhysicalMgmt =8 , Wn4_Media =10 , };#define MEDIA_TP 0x00C0/* Enable link beat and jabber for
10baseT. */
drivers/net/ethernet/myricom/myri10ge/myri10ge.c +1 -1
@@ -1237,7 +1237,7 @@ static int myri10ge_notify_dca_device(struct device *dev, void *data)#if MYRI10GE_ALLOC_SIZE >4096 /* don't cross a 4KB boundary */ end_offset = rx->page_offset + bytes -1 ; -if ((unsigned int )(rx->page_offset ^ end_offset) >4095 ) +if ((unsigned int )(rx->page_offset ^ end_offset) >4095 ) rx->page_offset = end_offset & ~4095 ;#endif rx->fill_cnt++;