[dpdk-test-report] |WARNING| pw41711 [v3, 16/23] net/softnic: add cli for pipeline table entries

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 27 18:32:51 CEST 2018


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 't->ip_version == 0'
#2444: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:709:
+		if ((r->ip_version && (t->ip_version == 0)) ||
+			((r->ip_version == 0) && t->ip_version))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'r->ip_version == 0'
#2444: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:709:
+		if ((r->ip_version && (t->ip_version == 0)) ||
+			((r->ip_version == 0) && t->ip_version))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 't->key_size != 4'
#2471: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:736:
+		if ((r->ip_version && (t->key_size != 4)) ||
+			((r->ip_version == 0) && (t->key_size != 16)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'r->ip_version == 0'
#2471: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:736:
+		if ((r->ip_version && (t->key_size != 4)) ||
+			((r->ip_version == 0) && (t->key_size != 16)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 't->key_size != 16'
#2471: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:736:
+		if ((r->ip_version && (t->key_size != 4)) ||
+			((r->ip_version == 0) && (t->key_size != 16)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ip_version0 == 0'
#2552: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:817:
+		if ((ip_version1 && (ip_version0 == 0)) ||
+			((ip_version1 == 0) && ip_version0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ip_version1 == 0'
#2552: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:817:
+		if ((ip_version1 && (ip_version0 == 0)) ||
+			((ip_version1 == 0) && ip_version0))

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#2987: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:1298:
+				status = match_convert_ipv6_depth(

WARNING:LONG_LINE: line over 90 characters
#3357: FILE: drivers/net/softnic/rte_eth_softnic_thread.c:1668:
+			(struct rte_pipeline_table_entry *)&action_ll[i * TABLE_RULE_ACTION_SIZE_MAX];

total: 0 errors, 1 warnings, 8 checks, 3536 lines checked


More information about the test-report mailing list