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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 28 04:26:56 CET 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#258: 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, 1088 lines checked


More information about the test-report mailing list