[dpdk-test-report] |WARNING| pw70190 [PATCH] ring: empty and count optimizations

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 13 17:37:30 CEST 2020


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/70190

_coding style issues_


ERROR:SPACING: spaces required around that '+=' (ctx:VxV)
#109: FILE: lib/librte_ring/rte_ring.h:202:
+		for (i = 0; i < (n & ((~(unsigned int)0x3))); i+=4, idx+=4) { \
 		                                               ^

ERROR:SPACING: spaces required around that '+=' (ctx:VxV)
#109: FILE: lib/librte_ring/rte_ring.h:202:
+		for (i = 0; i < (n & ((~(unsigned int)0x3))); i+=4, idx+=4) { \
 		                                                       ^

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#109: FILE: lib/librte_ring/rte_ring.h:202:
+		for (i = 0; i < (n & ((~(unsigned int)0x3))); i+=4, idx+=4) { \

ERROR:SPACING: spaces required around that '+=' (ctx:VxV)
#118: FILE: lib/librte_ring/rte_ring.h:233:
+		for (i = 0; i < (n & (~(unsigned int)0x3)); i+=4, idx+=4) {\
 		                                             ^

ERROR:SPACING: spaces required around that '+=' (ctx:VxV)
#118: FILE: lib/librte_ring/rte_ring.h:233:
+		for (i = 0; i < (n & (~(unsigned int)0x3)); i+=4, idx+=4) {\
 		                                                     ^

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#118: FILE: lib/librte_ring/rte_ring.h:233:
+		for (i = 0; i < (n & (~(unsigned int)0x3)); i+=4, idx+=4) {\

total: 4 errors, 2 warnings, 125 lines checked


More information about the test-report mailing list