[dpdk-test-report] |WARNING| pw68193 [PATCH v5 03/29] graph: implement node operations

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Apr 11 16:15:44 CEST 2020


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


More information about the test-report mailing list