[dpdk-test-report] |WARNING| pw42552 [v5, 14/23] net/softnic: add cli to create softnic objects

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 6 19:23:21 CEST 2018


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

_coding style issues_


WARNING:LONG_LINE_COMMENT: line over 90 characters
#208: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:213:
+ *  [filter match | mismatch offset <key_offset> mask <key_mask> key <key_value> port <port_id>]

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens != 7'
#1106: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1111:
+		if ((n_tokens != 7) && (n_tokens != 11)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens != 11'
#1106: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1111:
+		if ((n_tokens != 7) && (n_tokens != 11)) {

ERROR:SPACING: spaces required around that '?' (ctx:VxW)
#1808: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:98:
+	return (thread_state == RUNNING)? 1 : 0;
 	                                ^

total: 1 errors, 1 warnings, 2 checks, 1987 lines checked


More information about the test-report mailing list