[dpdk-test-report] |WARNING| pw35891 [PATCH 13/37] ip_pipeline: add link object

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 9 19:26:16 CET 2018


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

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#61: FILE: examples/ip_pipeline/cli.c:116:
+ * ^Idev <device_name> | port <port_id>$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#62: FILE: examples/ip_pipeline/cli.c:117:
+ * ^Irxq <n_queues> <queue_size> <mempool_name>$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#63: FILE: examples/ip_pipeline/cli.c:118:
+ * ^Itxq <n_queues> <queue_size>$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#64: FILE: examples/ip_pipeline/cli.c:119:
+ * ^Ipromiscuous on | off$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#65: FILE: examples/ip_pipeline/cli.c:120:
+ * ^I[rss <qid_0> ... <qid_n>]$

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#66: FILE: examples/ip_pipeline/cli.c:121:
+ * 	[rss <qid_0> ... <qid_n>]
+*/

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#78: FILE: examples/ip_pipeline/cli.c:133:
+	if ((n_tokens < 13) || (n_tokens > 14 + LINK_RXQ_RSS_MAX)) {
+	snprintf(out, out_size, MSG_ARG_MISMATCH, tokens[0]);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#89: FILE: examples/ip_pipeline/cli.c:144:
+		if (parser_read_uint16(&p.port_id, tokens[3]) != 0) {
+		snprintf(out, out_size, MSG_ARG_INVALID, "port_id");

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#103: FILE: examples/ip_pipeline/cli.c:158:
+	if (parser_read_uint32(&p.rx.n_queues, tokens[5]) != 0) {
+	snprintf(out, out_size, MSG_ARG_INVALID, "n_queues");

total: 0 errors, 9 warnings, 505 lines checked


More information about the test-report mailing list