[dpdk-test-report] |WARNING| pw28438 [PATCH v2 4/6] net/i40e: add FDIR support for GTP-C and GTP-U

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 7 13:21:43 CEST 2017


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <I40E_FDIR_IPv6_DEFAULT_HOP_LIMITS>
#195: FILE: drivers/net/i40e/i40e_fdir.c:1043:
+			I40E_FDIR_IPv6_DEFAULT_HOP_LIMITS;

CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv4>
#209: FILE: drivers/net/i40e/i40e_fdir.c:1060:
+		*ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);

CHECK:BRACES: braces {} should be used on all arms of this statement
#575: FILE: drivers/net/i40e/i40e_flow.c:2888:
+		if (ret == -1) {
[...]
+		} else if (ret == -2) {
[...]
+		} else if (ret > 0)
[...]

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


More information about the test-report mailing list