|WARNING| pw150714 [PATCH v1 03/42] net/e1000/base: add link bringup support for i225
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Jan 31 14:01:30 CET 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/150714
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type == e1000_i225'
#330: FILE: drivers/net/intel/e1000/base/e1000_mac.c:1648:
+ if ((hw->mac.type == e1000_i225) &&
+ (status & E1000_STATUS_SPEED_2500)) {
WARNING:BRACES: braces {} are not necessary for single statement blocks
#476: FILE: drivers/net/intel/e1000/base/e1000_phy.c:2921:
+ if (hw->mac.type == e1000_i225) {
+ E1000_READ_REG(hw, E1000_I225_PHPM);
+ }
total: 0 errors, 1 warnings, 1 checks, 400 lines checked
More information about the test-report
mailing list