[dpdk-test-report] |WARNING| pw56066 [PATCH v3] net/i40e: i40e get link status update from ipn3ke

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jul 4 09:02:59 CEST 2019


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

_coding style issues_


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

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

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

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

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#165: FILE: drivers/net/i40e/i40e_ethdev.c:716:
+					i40e_eth_dev_get_by_switch_mode_name(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#186: FILE: drivers/net/i40e/i40e_ethdev.c:737:
+		switch_ethdev = i40e_get_switch_ethdev_from_devargs(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#247: FILE: drivers/net/i40e/i40e_ethdev.c:2928:
+				i40e_get_switch_ethdev_from_devargs(

total: 0 errors, 0 warnings, 205 lines checked


More information about the test-report mailing list