staging: octeon: Add space around '+'
PATCH 1/2 staging: octeon: Add space around '+'
Add space around operator '+'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '+' (ctx:VxV)
--- 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
PATCH 2/2 staging: octeon: Do not use multiple blank lines.
Remove multiple blank lines. Problem found using checkpatch.pl "CHECK: Please don't use multiple blank lines"
--- drivers/staging/octeon/ethernet-defines.h | 1 - 1 file changed, 1 deletion(-)
drivers/staging/octeon/ethernet-defines.h +0 -1
@@ -42,5 +42,4 @@#define TOTAL_NUMBER_OF_PORTS (CVMX_PIP_NUM_INPUT_PORTS + 1) -#endif /* __ETHERNET_DEFINES_H__ */
Signature · 1 line
1.9.1
Quoted 6 lines · Burcin Akalin
Add space around operator '+'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '+' (ctx:VxV)Signed-off-by Burcin Akalin <[email protected]>---
I think you are not working against the current staging tree. This patch will also not apply because of some other changes in that file.
regards
sudip
Re: [Outreachy kernel] [PATCH 2/2] staging: octeon: Do not use multiple blank lines.
In reply to Burcin AkalinQuoted 5 lines · Burcin Akalin
Remove multiple blank lines. Problem found using checkpatch.pl "CHECK: Please don't use multiple blank lines"
Signed-off-by Burcin Akalin <[email protected]>---
This also you have sent previously and has already been applied by Greg. 9a28617fbc99 ("staging: octeon: Do not use multiple blank lines.")
regards
sudip