[dpdk-test-report] |WARNING| pw80516 [PATCH 03/36] common/sfc_efx/base: factor out wrapper to set PHY link
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 13 15:48:39 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/80516
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#188: FILE: drivers/common/sfc_efx/base/ef10_phy.c:436:
+ return (rc);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#208: FILE: drivers/common/sfc_efx/base/ef10_phy.c:456:
+ if ((rc = efx_mcdi_link_control_supported(enp, &supported)) != 0)
total: 2 errors, 0 warnings, 131 lines checked
More information about the test-report
mailing list