|WARNING| pw158641 [PATCH] lib/ring: do not allow zero size ring

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 10 23:28:45 CET 2025


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#104: FILE: app/test/test_ring.c:508:
+        /* Test zero size ring */$

ERROR:SPACING: space prohibited before that close parenthesis ')'
#123: FILE: lib/ring/rte_ring.c:70:
+	if ((count == 0) || (!POWEROF2(count)) || (count > RTE_RING_SZ_MASK )) {

total: 2 errors, 0 warnings, 29 lines checked


More information about the test-report mailing list