|WARNING| pw161408 [PATCH v6 11/11] test: add unit tests for rtap PMD
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Feb 15 00:50:11 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/161408
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#143: FILE: app/test/test_pmd_rtap.c:8:
+#include <stdio.h>
^^^^^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#540: FILE: app/test/test_pmd_rtap.c:405:
+wait_for_event(RTE_ATOMIC(int) *event_flag, int initial_count, int timeout_us)
^
WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#1730: FILE: app/test/test_pmd_rtap.c:1595:
+ 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
#1756: FILE: app/test/test_pmd_rtap.c:1621:
+ if (rte_atomic_load_explicit(&lsc_last_status, rte_memory_order_seq_cst) != RTE_ETH_LINK_UP) {
WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#2133: FILE: app/test/test_pmd_rtap.c:1998:
+ else if (strstr(names[i].name, "tx_q0_size_65_to_127_packets") && xstats[i].value > 0)
WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#2135: FILE: app/test/test_pmd_rtap.c:2000:
+ else if (strstr(names[i].name, "tx_q0_size_128_to_255_packets") && xstats[i].value > 0)
WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#2137: FILE: app/test/test_pmd_rtap.c:2002:
+ else if (strstr(names[i].name, "tx_q0_size_256_to_511_packets") && xstats[i].value > 0)
WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#2139: FILE: app/test/test_pmd_rtap.c:2004:
+ else if (strstr(names[i].name, "tx_q0_size_512_to_1023_packets") && xstats[i].value > 0)
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#2665: FILE: app/test/test_pmd_rtap.c:2530:
+ static int test_##name##_for_port(void) { \
total: 2 errors, 7 warnings, 2627 lines checked
More information about the test-report
mailing list