automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw72880 [PATCH v4 13/51] net/bnxt: update multi device design support
       [not found] <20200702232838.92817-14-ajit.khaparde@broadcom.com>
@ 2020-07-02 23:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-07-02 23:31 UTC (permalink / raw)
  To: test-report; +Cc: Ajit Khaparde

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#501: FILE: drivers/net/bnxt/tf_core/tf_common.h:55:
+#define TF_CHECK_PARMS1(parms) do {					\
+		if ((parms) == NULL) {					\
+			TFP_DRV_LOG(ERR, "Invalid Argument(s)
");	\
+			return -EINVAL;					\
+		}							\
+	} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#508: FILE: drivers/net/bnxt/tf_core/tf_common.h:62:
+#define TF_CHECK_PARMS2(parms1, parms2) do {				\
+		if ((parms1) == NULL || (parms2) == NULL) {		\
+			TFP_DRV_LOG(ERR, "Invalid Argument(s)
");	\
+			return -EINVAL;					\
+		}							\
+	} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#515: FILE: drivers/net/bnxt/tf_core/tf_common.h:69:
+#define TF_CHECK_PARMS3(parms1, parms2, parms3) do {			\
+		if ((parms1) == NULL ||					\
+		    (parms2) == NULL ||					\
+		    (parms3) == NULL) {					\
+			TFP_DRV_LOG(ERR, "Invalid Argument(s)
");	\
+			return -EINVAL;					\
+		}							\
+	} while (0)

total: 0 errors, 3 warnings, 0 checks, 3409 lines checked

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

only message in thread, other threads:[~2020-07-02 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200702232838.92817-14-ajit.khaparde@broadcom.com>
2020-07-02 23:31 ` [dpdk-test-report] |WARNING| pw72880 [PATCH v4 13/51] net/bnxt: update multi device design support 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).