[dpdk-test-report] |WARNING| pw95222 [PATCH 2/5] table: add support for selector tables

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 2 22:50:36 CEST 2021


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#302: FILE: lib/table/rte_swx_table_selector.c:209:
+	if (!params->selector_size ||
[...]
+	    return -EINVAL;

WARNING:TABSTOP: Statements should start on a tabstop
#308: FILE: lib/table/rte_swx_table_selector.c:215:
+	    return -EINVAL;

ERROR:TRAILING_WHITESPACE: trailing whitespace
#469: FILE: lib/table/rte_swx_table_selector.c:376:
+^I     $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#636: FILE: lib/table/rte_swx_table_selector.c:543:
+^I$

WARNING:LONG_LINE: line length of 125 exceeds 100 columns
#660: FILE: lib/table/rte_swx_table_selector.c:567:
+	selector = hash(&(*selector_buffer)[t->params.selector_offset], t->params.selector_mask, t->params.selector_size, 0);

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#663: FILE: lib/table/rte_swx_table_selector.c:570:
+	member_id = t->group_table[(group_id << t->n_members_per_group_max_log2) + group_member_index];

total: 2 errors, 4 warnings, 803 lines checked


More information about the test-report mailing list