[dpdk-test-report] |WARNING| pw101842 [PATCH v2 2/4] mbuf: mark old VLAN offload flags as deprecated

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 15 21:26:07 CEST 2021


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#610: FILE: drivers/net/ixgbe/ixgbe_rxtx.c:387:
+	if (ol_flags & PKT_TX_VLAN) {
 		tx_offload_mask.vlan_tci |= ~0;
 	}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#945: FILE: lib/mbuf/rte_mbuf_core.h:268:
+#define PKT_TX_QINQ_PKT RTE_DEPRECATED(PKT_TX_QINQ_PKT) PKT_TX_QINQ

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#954: FILE: lib/mbuf/rte_mbuf_core.h:337:
+#define PKT_TX_VLAN_PKT RTE_DEPRECATED(PKT_TX_VLAN_PKT) PKT_TX_VLAN

total: 2 errors, 1 warnings, 636 lines checked


More information about the test-report mailing list