[dpdk-test-report] |WARNING| pw70833 [PATCH 6/8] net/i40e: add map functions

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 10 09:54:14 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'in->pctype >= I40E_FILTER_PCTYPE_MAX'
#94: FILE: drivers/net/i40e/i40e_ethdev.c:13423:
+	if ((in->pctype >= I40E_FILTER_PCTYPE_MAX) ||
+		(in->flowtype >= I40E_FLOW_TYPE_MAX))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'in->flowtype >= I40E_FLOW_TYPE_MAX'
#94: FILE: drivers/net/i40e/i40e_ethdev.c:13423:
+	if ((in->pctype >= I40E_FILTER_PCTYPE_MAX) ||
+		(in->flowtype >= I40E_FLOW_TYPE_MAX))

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#120: FILE: drivers/net/i40e/i40e_ethdev.c:13449:
+		ret = rte_pmd_i40e_flow_type_mapping_update(

total: 0 errors, 0 warnings, 3 checks, 68 lines checked


More information about the test-report mailing list