[dpdk-test-report] |WARNING| pw54144 [PATCH 2/2] net/ice: add generic flow API

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 3 11:07:44 CEST 2019


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 24)
#565: FILE: drivers/net/ice/ice_generic_flow.c:391:
+			if (icmp6_mask->type == UINT8_MAX)
+			input_set |= ICE_INSET_ICMP6;

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!fields'
#586: FILE: drivers/net/ice/ice_generic_flow.c:412:
+	if ((!fields) || (fields && (!inset))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!inset'
#586: FILE: drivers/net/ice/ice_generic_flow.c:412:
+	if ((!fields) || (fields && (!inset))) {

CHECK:BRACES: Unbalanced braces around else statement
#715: FILE: drivers/net/ice/ice_generic_flow.c:541:
+	} else

total: 0 errors, 1 warnings, 3 checks, 1087 lines checked


More information about the test-report mailing list