* [dpdk-test-report] |WARNING| pw76212 [PATCH v1 09/42] net/txgbe: add PHY init
[not found] <20200901115113.1529675-9-jiawenwu@trustnetic.com>
@ 2020-09-08 23:27 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-08 23:27 UTC (permalink / raw)
To: test-report; +Cc: Jiawen Wu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/76212
_coding style issues_
WARNING:BRACES: braces {} are not necessary for single statement blocks
#270: FILE: drivers/net/txgbe/base/txgbe_phy.c:64:
+ if (hw->phy.nw_mng_if_sel & TXGBE_ETHPHYIF_MDIO_ACT) {
+ hw->phy.addr = TXGBE_ETHPHYIF_MDIO_BASE(hw->phy.nw_mng_if_sel);
+ }
WARNING:TYPO_SPELLING: 'AFE' may be misspelled - perhaps 'SAFE'?
#532: FILE: drivers/net/txgbe/base/txgbe_phy.h:67:
+#define TXGBE_PHY_AFE_DFE_ENABLE 0x01805D
WARNING:TYPO_SPELLING: 'AFE' may be misspelled - perhaps 'SAFE'?
#568: FILE: drivers/net/txgbe/base/txgbe_phy.h:103:
+#define TXGBE_PHY_AFE_DFE_ENABLE_DFE_EN0 0x10
WARNING:TYPO_SPELLING: 'AFE' may be misspelled - perhaps 'SAFE'?
#569: FILE: drivers/net/txgbe/base/txgbe_phy.h:104:
+#define TXGBE_PHY_AFE_DFE_ENABLE_AFE_EN0 0x1
WARNING:TYPO_SPELLING: 'AFE' may be misspelled - perhaps 'SAFE'?
#569: FILE: drivers/net/txgbe/base/txgbe_phy.h:104:
+#define TXGBE_PHY_AFE_DFE_ENABLE_AFE_EN0 0x1
WARNING:TYPO_SPELLING: 'AFE' may be misspelled - perhaps 'SAFE'?
#570: FILE: drivers/net/txgbe/base/txgbe_phy.h:105:
+#define TXGBE_PHY_AFE_DFE_ENABLE_MASK 0xFF
WARNING:TYPO_SPELLING: 'TRANSMITER' may be misspelled - perhaps 'TRANSMITTER'?
#671: FILE: drivers/net/txgbe/base/txgbe_phy.h:206:
+#define TXGBE_SFF_QSFP_TRANSMITER_850NM_VCSEL 0x0
total: 0 errors, 7 warnings, 0 checks, 710 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-08 23:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200901115113.1529675-9-jiawenwu@trustnetic.com>
2020-09-08 23:27 ` [dpdk-test-report] |WARNING| pw76212 [PATCH v1 09/42] net/txgbe: add PHY init 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).