[dpdk-test-report] |WARNING| pw55591 [PATCH v4 1/2] lib/ipsec: add support for header construction

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 28 14:46:55 CEST 2019


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#107: FILE: lib/librte_ipsec/iph.h:118:
+#define SET_IPV6_TC(vtc_flow, tc)					\
+	vtc_flow = rte_cpu_to_be_32(tc << RTE_IPV6_HDR_TC_SHIFT) |	\
+		(vtc_flow & (~rte_cpu_to_be_32(IPV6_TOS_MASK)))		\
+

total: 1 errors, 0 warnings, 293 lines checked


More information about the test-report mailing list