[dpdk-test-report] |WARNING| pw76029 [PATCH 34/40] table: add exact match table

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:17:31 CEST 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#136: FILE: lib/librte_table/rte_swx_table_em.c:14:
+#define CHECK(condition, err_code)                                             \
+do {                                                                           \
+	if (!(condition))                                                      \
+		return -(err_code);                                            \
+} while (0)

total: 0 errors, 1 warnings, 922 lines checked


More information about the test-report mailing list