[dpdk-test-report] |WARNING| pw61442 [PATCH v5 3/3] lib/ring: copy ring elements using memcpy partially

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 17 22:09:11 CEST 2019


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#77: FILE: lib/librte_ring/rte_ring_elem.h:120:
+		for (i = 0; i < (sz & ((~(unsigned)0x7))); i += 8, idx += 8) { \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#78: FILE: lib/librte_ring/rte_ring_elem.h:121:
+			memcpy (ring + i, obj + i, 8 * sizeof (uint32_t)); \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#78: FILE: lib/librte_ring/rte_ring_elem.h:121:
+			memcpy (ring + i, obj + i, 8 * sizeof (uint32_t)); \

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#169: FILE: lib/librte_ring/rte_ring_elem.h:155:
+		for (i = 0; i < (sz & ((~(unsigned)0x7))); i += 8, idx += 8) { \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#170: FILE: lib/librte_ring/rte_ring_elem.h:156:
+			memcpy (obj + i, ring + i, 8 * sizeof (uint32_t)); \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#170: FILE: lib/librte_ring/rte_ring_elem.h:156:
+			memcpy (obj + i, ring + i, 8 * sizeof (uint32_t)); \

total: 0 errors, 6 warnings, 211 lines checked


More information about the test-report mailing list