[dpdk-test-report] |WARNING| pw53661 [PATCH] net/i40e: i40e rework for ipn3ke

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 23 11:20:53 CEST 2019


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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#98: FILE: drivers/net/i40e/i40e_ethdev.c:2817:
+	if (!strncmp(cfg_str, "IPN3KE", strlen("IPN3KE"))) {
[...]
+	} else
[...]

CHECK:BRACES: braces {} should be used on all arms of this statement
#111: FILE: drivers/net/i40e/i40e_ethdev.c:2830:
+			if (*p_src == '@') {
[...]
+			} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#114: FILE: drivers/net/i40e/i40e_ethdev.c:2833:
+			} else

CHECK:BRACES: Unbalanced braces around else statement
#140: FILE: drivers/net/i40e/i40e_ethdev.c:2859:
+	} else

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#173: FILE: drivers/net/i40e/i40e_ethdev.c:2899:
+					&switch_cfg_str)) {
+

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#174: FILE: drivers/net/i40e/i40e_ethdev.c:2900:
+					i40e_pf_switch_mode_link_update(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#179: FILE: drivers/net/i40e/i40e_ethdev.c:2905:
+						rte_eth_linkstatus_get(

total: 0 errors, 0 warnings, 7 checks, 161 lines checked


More information about the test-report mailing list