* |WARNING| pw150714 [PATCH v1 03/42] net/e1000/base: add link bringup support for i225
[not found] <2eaccb279bf94195d4973ee3cad81d8c5ea33e55.1738328107.git.anatoly.burakov@intel.com>
@ 2025-01-31 13:01 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-01-31 13:01 UTC (permalink / raw)
To: test-report; +Cc: Anatoly Burakov
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-31 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <2eaccb279bf94195d4973ee3cad81d8c5ea33e55.1738328107.git.anatoly.burakov@intel.com>
2025-01-31 13:01 ` |WARNING| pw150714 [PATCH v1 03/42] net/e1000/base: add link bringup support for i225 checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).