[dpdk-test-report] |WARNING| pw76964 [PATCH v3 31/41] pipeline: add SWX table update high level API

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:58:22 CEST 2020


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

_coding style issues_


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

WARNING:TYPO_SPELLING: 'wilcard' may be misspelled - perhaps 'wildcard'?
#1547: FILE: lib/librte_pipeline/rte_swx_ctl.c:1418:
+		/* TBD Set entry->key_mask for wilcard and LPM match tables. */

total: 0 errors, 2 warnings, 1765 lines checked


More information about the test-report mailing list