|WARNING| pw138283 [PATCH] test-pmd: add more packet decode options verbose

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Mar 12 23:03:15 CET 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'tha' may be misspelled - perhaps 'than'?
#266: FILE: app/test-pmd/util.c:338:
+		rte_ether_format_addr(buf, sizeof(buf), &arp->arp_data.arp_tha);

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros starting with if should be enclosed by a do - while loop to avoid possible if/else logic defects
#328: FILE: app/test-pmd/util.c:400:
+#define PRINT_TCP_FLAG(flag) \
+	if (tcph->tcp_flags & RTE_TCP_ ## flag ## _FLAG) \
+		printf(" [" #flag" ]")

total: 1 errors, 1 warnings, 464 lines checked
Warning in app/test-pmd/util.c:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx


More information about the test-report mailing list