* [dpdk-test-report] |WARNING| pw61442 [PATCH v5 3/3] lib/ring: copy ring elements using memcpy partially
[not found] <20191017200807.20772-4-honnappa.nagarahalli@arm.com>
@ 2019-10-17 20:09 ` checkpatch
2019-10-18 10:01 ` [dpdk-test-report] |SUCCESS| pw61442 " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2019-10-17 20:09 UTC (permalink / raw)
To: test-report; +Cc: Honnappa Nagarahalli
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
^ permalink raw reply [flat|nested] 2+ messages in thread