|WARNING| pw114020 [PATCH 4/9] pipeline: generate the code for pipeline specification structure

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 18 15:08:47 CEST 2022


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

_coding style issues_


ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#95: FILE: lib/pipeline/rte_swx_pipeline_spec.c:2110:
+	switch (match_type) {
+		case RTE_SWX_TABLE_MATCH_WILDCARD: return "RTE_SWX_TABLE_MATCH_WILDCARD";
+		case RTE_SWX_TABLE_MATCH_LPM: return "RTE_SWX_TABLE_MATCH_LPM";
+		case RTE_SWX_TABLE_MATCH_EXACT: return "RTE_SWX_TABLE_MATCH_EXACT";
+		default: return "RTE_SWX_TABLE_MATCH_UNKNOWN";

WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#554: FILE: lib/pipeline/rte_swx_pipeline_spec.c:2569:
+			fprintf(f, "static uint32_t learner_%s_timeout[] = {
", learner_spec->name);

total: 1 errors, 1 warnings, 644 lines checked


More information about the test-report mailing list