[dpdk-test-report] |WARNING| pw99406 [PATCH v4] net/ice: support IEEE 1588 PTP for E810
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Sep 22 10:56:57 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/99406
_coding style issues_
CHECK:BRACES: braces {} should be used on all arms of this statement
#173: FILE: drivers/net/ice/ice_ethdev.c:5520:
+ if (!dev->data->dev_started)
[...]
+ else {
[...]
CHECK:BRACES: Unbalanced braces around else statement
#175: FILE: drivers/net/ice/ice_ethdev.c:5522:
+ else {
CHECK:BRACES: braces {} should be used on all arms of this statement
#176: FILE: drivers/net/ice/ice_ethdev.c:5523:
+ if (!(dev->data->dev_conf.rxmode.offloads &
[...]
+ } else
[...]
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#180: FILE: drivers/net/ice/ice_ethdev.c:5527:
+ return -1;
+ } else
CHECK:BRACES: Unbalanced braces around else statement
#180: FILE: drivers/net/ice/ice_ethdev.c:5527:
+ } else
CHECK:BRACES: braces {} should be used on all arms of this statement
#381: FILE: drivers/net/ice/ice_rxtx.c:370:
+ if (!ad->ptp_ena) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#384: FILE: drivers/net/ice/ice_rxtx.c:373:
+ } else
CHECK:BRACES: Unbalanced braces around else statement
#480: FILE: drivers/net/ice/ice_rxtx.c:2811:
+ else {
total: 0 errors, 1 warnings, 7 checks, 374 lines checked
More information about the test-report
mailing list