[dpdk-test-report] |WARNING| pw65183 [PATCH 3/8] net/bnxt: fix to allow group ID 0 for RSS action
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Jan 28 07:26:14 CET 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/65183
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#82: 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