* [dpdk-test-report] |WARNING| pw41884 [v2, 21/23] net/bnxt: check VF resources if resource manager is enabled
[not found] <20180628201549.3507-22-ajit.khaparde@broadcom.com>
@ 2018-06-28 20:18 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-28 20:18 UTC (permalink / raw)
To: test-report; +Cc: Ajit Khaparde
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/41884
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#123: FILE: drivers/net/bnxt/bnxt_hwrm.c:169:
+#define HWRM_CHECK_RESULT_SILENT() do {\
+ if (rc) { \
+ rte_spinlock_unlock(&bp->hwrm_lock); \
+ return rc; \
+ } \
+ if (resp->error_code) { \
+ rc = rte_le_to_cpu_16(resp->error_code); \
+ rte_spinlock_unlock(&bp->hwrm_lock); \
+ return rc; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 0 checks, 188 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-28 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180628201549.3507-22-ajit.khaparde@broadcom.com>
2018-06-28 20:18 ` [dpdk-test-report] |WARNING| pw41884 [v2, 21/23] net/bnxt: check VF resources if resource manager is enabled 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).