[dpdk-test-report] |WARNING| pw82086 [PATCH v2 19/21] net/ice/base: refactor RSS configure API

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Oct 25 02:33:38 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#259: FILE: drivers/net/ice/base/ice_flow.c:3472:
+#define ICE_FLOW_GEN_PROFID(hash, hdr, encap) \
 	(u64)(((u64)(hash) & ICE_FLOW_PROF_HASH_M) | \
 	      (((u64)(hdr) << ICE_FLOW_PROF_HDR_S) & ICE_FLOW_PROF_HDR_M) | \
+	      (((u64)(encap) << ICE_FLOW_PROF_ENCAP_S) & ICE_FLOW_PROF_ENCAP_M))

total: 1 errors, 0 warnings, 0 checks, 1096 lines checked


More information about the test-report mailing list