|WARNING| pw167708 [RFC] increase name sizes and reorder structures

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 13 19:14:46 CEST 2026


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#208: FILE: lib/ring/rte_ring_core.h:52:
+static_assert(RTE_RING_NAMESIZE <= RTE_MEMZONE_NAMESIZE - sizeof(RTE_RING_MZ_PREFIX) + 1,

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#232: FILE: lib/stack/rte_stack.h:30:
+static_assert(RTE_STACK_NAMESIZE <= RTE_MEMZONE_NAMESIZE - sizeof(RTE_STACK_MZ_PREFIX) + 1,

total: 0 errors, 2 warnings, 94 lines checked
__rte_packed_begin and __rte_packed_end should always be used in pairs.


More information about the test-report mailing list