automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw71405 [PATCH 13/50] net/bnxt: update multi device design support
       [not found] <20200612132934.16488-14-somnath.kotur@broadcom.com>
@ 2020-06-12 13:41 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-06-12 13:41 UTC (permalink / raw)
  To: test-report; +Cc: Somnath Kotur

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#494: 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
#501: 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
#508: 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)

WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#2983: FILE: drivers/net/bnxt/tf_core/tf_session.c:132:
+#if 0

total: 0 errors, 4 warnings, 0 checks, 3433 lines checked

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

only message in thread, other threads:[~2020-06-12 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200612132934.16488-14-somnath.kotur@broadcom.com>
2020-06-12 13:41 ` [dpdk-test-report] |WARNING| pw71405 [PATCH 13/50] 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).