[dpdk-test-report] |WARNING| pw76775 [PATCH v2 35/41] table: add exact match SWX table

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


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#137: 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