|WARNING| pw161009 [PATCH v5 10/10] test: add unit tests for rtap PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Feb 9 19:44:23 CET 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#144: FILE: app/test/test_pmd_rtap.c:8:
+#include <stdio.h>
           ^^^^^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#541: FILE: app/test/test_pmd_rtap.c:405:
+wait_for_event(RTE_ATOMIC(int) *event_flag, int initial_count, int timeout_us)
                                ^

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#1501: FILE: app/test/test_pmd_rtap.c:1365:
+	if (captured_cksum == 0) {
[...]
+	} else {
[...]

WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#1732: FILE: app/test/test_pmd_rtap.c:1596:
+		if (rte_atomic_load_explicit(&lsc_last_status, rte_memory_order_seq_cst) != RTE_ETH_LINK_DOWN) {

WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#1758: FILE: app/test/test_pmd_rtap.c:1622:
+		if (rte_atomic_load_explicit(&lsc_last_status, rte_memory_order_seq_cst) != RTE_ETH_LINK_UP) {

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#2104: FILE: app/test/test_pmd_rtap.c:1968:
+	static int test_##name##_for_port(void) { \

total: 2 errors, 4 warnings, 2051 lines checked


More information about the test-report mailing list