[dpdk-test-report] |WARNING| pw56199 [PATCH v4] net/i40e: i40e get link status update from ipn3ke
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jul 8 05:10:40 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/56199
_coding style issues_
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#89: FILE: drivers/net/i40e/i40e_ethdev.c:636:
+ if (RTE_ETH_NAME_MAX_LEN > strlen(value)) {
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#92: FILE: drivers/net/i40e/i40e_ethdev.c:639:
+ return 0;
+ } else {
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#174: FILE: drivers/net/i40e/i40e_ethdev.c:721:
+ i40e_eth_dev_get_by_switch_mode_name(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#193: FILE: drivers/net/i40e/i40e_ethdev.c:740:
+ switch_ethdev = i40e_get_switch_ethdev_from_devargs(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#254: FILE: drivers/net/i40e/i40e_ethdev.c:2931:
+ i40e_get_switch_ethdev_from_devargs(
total: 0 errors, 2 warnings, 208 lines checked
More information about the test-report
mailing list