[dpdk-test-report] |WARNING| pw65277 [PATCH v3 3/9] net/bnxt: fix to allow group ID 0 for RSS action

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 28 22:03:10 CET 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#92: FILE: drivers/net/bnxt/bnxt.h:699:
+#define BNXT_VALID_VNIC_OR_RET(bp, vnic_id) do { \
+	if ((vnic_id) >= (bp)->max_vnics) { \
+		rte_flow_error_set(error, \
+				EINVAL, \
+				RTE_FLOW_ERROR_TYPE_ATTR_GROUP, \
+				NULL, \
+				"Group id is invalid!"); \
+		rc = -rte_errno; \
+		goto ret; \
+	} \
+} while (0)

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


More information about the test-report mailing list