automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw27908 [PATCH 7/8] net/bnxt: fix HWRM_*() macros and locking
       [not found] <20170824162956.62761-9-ajit.khaparde@broadcom.com>
@ 2017-08-25 10:30 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-08-25 10:30 UTC (permalink / raw)
  To: test-report; +Cc: Ajit Khaparde

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#88: FILE: drivers/net/bnxt/bnxt_hwrm.c:196:
+#define HWRM_CHECK_RESULT() \
+	do {\
 		if (rc) { \
 			RTE_LOG(ERR, PMD, "%s failed rc:%d
", \
 				__func__, rc); \
+			rte_spinlock_unlock(&bp->hwrm_lock); \
 			return rc; \
 		} \
 		if (resp->error_code) { \

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-25 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170824162956.62761-9-ajit.khaparde@broadcom.com>
2017-08-25 10:30 ` [dpdk-test-report] |WARNING| pw27908 [PATCH 7/8] net/bnxt: fix HWRM_*() macros and locking 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).