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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 23 20:14:09 CEST 2020


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#118: 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, 909 lines checked


More information about the test-report mailing list