[dpdk-test-report] |WARNING| pw43374 [4/6] net/softnic: add CLI command for tmgr node addition

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 25 19:10:30 CEST 2018


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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#86: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:392:
+	if (strcmp(tokens[5], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#88: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:394:
+	else {

WARNING:LONG_LINE: line over 90 characters
#129: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:435:
+			if (softnic_parser_read_uint32(&np.shaper_profile_id, tokens[2]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#167: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:473:
+		if (softnic_parser_read_uint32(&np.nonleaf.n_sp_priorities, tokens[2]) != 0) {

total: 0 errors, 2 warnings, 2 checks, 183 lines checked


More information about the test-report mailing list