Staging: octeon: Add space around '+'
PATCH 1/1 Staging: octeon: Add space around '+'
Add space around operator '+'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '+' (ctx:VxV)
Signed-off-by Dilek Uzulmez <[email protected]>
--- drivers/staging/octeon/ethernet-defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/octeon/ethernet-defines.h +1 -1
@@ -40,7 +40,7 @@#define FAU_TOTAL_TX_TO_CLEAN (CVMX_FAU_REG_END - sizeof(uint32_t))#define FAU_NUM_PACKET_BUFFERS_TO_FREE (FAU_TOTAL_TX_TO_CLEAN - sizeof(uint32_t)) -#define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS+1) +#define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS + 1)#endif /* __ETHERNET_DEFINES_H__ */
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 13 lines · Dilek Uzulmez
Add space around operator '+'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '+' (ctx:VxV)Signed-off-by Dilek Uzulmez <[email protected]>--- drivers/staging/octeon/ethernet-defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/octeon/ethernet-defines.h +0
-0
drivers/staging/octeon/ethernet-defines.h line 43
Quoted 5 lines
drivers/staging/octeon/ethernet-defines.h +1
-1@@ -40,7 +40,7 @@#define FAU_TOTAL_TX_TO_CLEAN (CVMX_FAU_REG_END - sizeof(uint32_t))#define FAU_NUM_PACKET_BUFFERS_TO_FREE (FAU_TOTAL_TX_TO_CLEAN - sizeof(uint32_t)) -#define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS+1) +#define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS + 1)
Patch does not apply to my tree :(