automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw68193 [PATCH v5 03/29] graph: implement node operations
       [not found] <20200411141428.1987768-4-jerinj@marvell.com>
@ 2020-04-11 14:15 ` checkpatch
  2020-04-14 13:40 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-04-11 14:15 UTC (permalink / raw)
  To: test-report; +Cc: jerinj

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#101: FILE: lib/librte_graph/graph_private.h:17:
+#define ID_CHECK(id, id_max)                                                   \
+	do {                                                                   \
+		if ((id) >= (id_max)) {                                        \
+			rte_errno = EINVAL;                                    \
+			goto fail;                                             \
+		}                                                              \
+	} while (0)

total: 0 errors, 1 warnings, 311 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-test-report] |WARNING| pw68193 [PATCH v5 03/29] graph: implement node operations
       [not found] <20200411141428.1987768-4-jerinj@marvell.com>
  2020-04-11 14:15 ` [dpdk-test-report] |WARNING| pw68193 [PATCH v5 03/29] graph: implement node operations checkpatch
@ 2020-04-14 13:40 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-04-14 13:40 UTC (permalink / raw)
  To: test-report; +Cc: jerinj

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#102: FILE: lib/librte_graph/graph_private.h:17:
+#define ID_CHECK(id, id_max)                                                   \
+	do {                                                                   \
+		if ((id) >= (id_max)) {                                        \
+			rte_errno = EINVAL;                                    \
+			goto fail;                                             \
+		}                                                              \
+	} while (0)

total: 0 errors, 1 warnings, 311 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-14 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200411141428.1987768-4-jerinj@marvell.com>
2020-04-11 14:15 ` [dpdk-test-report] |WARNING| pw68193 [PATCH v5 03/29] graph: implement node operations checkpatch
2020-04-14 13:40 ` 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).