[dpdk-test-report] |WARNING| pw79450 [PATCH v7 33/42] port: add ethernet device SWX port

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 1 12:33:29 CEST 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#131: FILE: lib/librte_port/rte_swx_port_ethdev.c:15:
+#define CHECK(condition)                                                       \
+do {                                                                           \
+	if (!(condition))                                                      \
+		return NULL;                                                   \
+} while (0)

total: 0 errors, 1 warnings, 392 lines checked


More information about the test-report mailing list