* [dpdk-test-report] |WARNING| pw65192 [PATCH 3/9] net/bnxt: fix to allow group ID 0 for RSS action
[not found] <20200128072923.9912-4-somnath.kotur@broadcom.com>
@ 2020-01-28 7:31 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-01-28 7:31 UTC (permalink / raw)
To: test-report; +Cc: Somnath Kotur
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/65192
_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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-28 7:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200128072923.9912-4-somnath.kotur@broadcom.com>
2020-01-28 7:31 ` [dpdk-test-report] |WARNING| pw65192 [PATCH 3/9] net/bnxt: fix to allow group ID 0 for RSS action checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).