[dpdk-test-report] |WARNING| pw61493 [RFC v6 5/6] lib/ring: copy ring elements using memcpy partially

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 21 02:24:50 CEST 2019


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#103: FILE: lib/librte_ring/rte_ring_elem.h:122:
+		for (i = 0; i < (nr_n & ((~(unsigned)0x7))); \

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

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#232: FILE: lib/librte_ring/rte_ring_elem.h:162:
+		for (i = 0; i < (nr_n & ((~(unsigned)0x7))); \

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

total: 0 errors, 4 warnings, 300 lines checked


More information about the test-report mailing list