[dpdk-test-report] |WARNING| pw76774 [PATCH v2 34/41] port: add source and sink SWX ports

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:51:13 CEST 2020


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

_coding style issues_


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

total: 0 errors, 1 warnings, 429 lines checked


More information about the test-report mailing list