[dpdk-test-report] |WARNING| pw76219 [PATCH v1 15/42] net/txgbe: add multi-speed link setup
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Sep 9 01:27:37 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/76219
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->phy.media_type == txgbe_media_type_fiber'
#232: FILE: drivers/net/txgbe/base/txgbe_hw.c:660:
+ if ((hw->phy.media_type == txgbe_media_type_fiber) &&
+ !txgbe_mng_enabled(hw)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'link_speed == TXGBE_LINK_SPEED_1GB_FULL'
#496: FILE: drivers/net/txgbe/base/txgbe_hw.c:1232:
+ if (link_up && (link_speed == TXGBE_LINK_SPEED_1GB_FULL))
total: 0 errors, 0 warnings, 2 checks, 453 lines checked
More information about the test-report
mailing list