[dpdk-test-report] |WARNING| pw66897 [PATCH v1 03/26] graph: implement node operations

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 18 22:37:33 CET 2020


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

_coding style issues_


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

total: 0 errors, 1 warnings, 303 lines checked


More information about the test-report mailing list