net/ethernet: fix typo in annotation comment
Subsystems (3)
PATCH 1/1 net/ethernet: fix typo in annotation comment
It`s "auto-negotiation", not "auto-negotitation". Let's fix that.
--- drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +1 -1
@@ -1264,7 +1264,7 @@ static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode)/* Disable and stop any in progress auto-negotiation */ xgbe_an_disable_all (pdata); -/* Clear any auto-negotitation interrupts */ +/* Clear any auto-negotiation interrupts */ xgbe_an_clear_interrupts_all (pdata); pdata->an_result =XGBE_AN_READY ;
drivers/net/ethernet/intel/igb/e1000_mac.c +1 -1
@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw)* igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * -* Verify that when not using auto-negotitation that MDI/MDIx is correctly +* Verify that when not using auto-negotiation that MDI/MDIx is correctly * set, which is forced to MDI mode only. **/ s32 igb_validate_mdi_setting (struct e1000_hw *hw)
Signature · 1 line
2.32.0
Quoted 6 lines · Jun Miao
It`s "auto-negotiation", not "auto-negotitation". Let's fix that.
Signed-off-by Jun Miao <[email protected]>--- drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +-
for the igb:
Quoted 1 line
2 files changed, 2 insertions(+), 2 deletions(-)
you could fix also (perhaps as another commit):arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts:273: * SGMII Auto-Negotation is enabled by bootloader for
nit:
I would also put "about auto-negotiation" at the end of commit message, to make it unique
Quoted 27 lines
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +1
-1@@ -1264,7 +1264,7 @@ static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode)/* Disable and stop any in progress auto-negotiation */ xgbe_an_disable_all (pdata); -/* Clear any auto-negotitation interrupts */ +/* Clear any auto-negotiation interrupts */ xgbe_an_clear_interrupts_all (pdata); pdata->an_result =XGBE_AN_READY ;drivers/net/ethernet/intel/igb/e1000_mac.c +1
-1@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw)* igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * -* Verify that when not using auto-negotitation that MDI/MDIx is correctly +* Verify that when not using auto-negotiation that MDI/MDIx is correctly * set, which is forced to MDI mode only. **/ s32 igb_validate_mdi_setting (struct e1000_hw *hw)
Quoted 11 lines · Przemek Kitszel
Quoted 6 lines · Jun Miao
It`s "auto-negotiation", not "auto-negotitation". Let's fix that.
Signed-off-by Jun Miao <[email protected]>---
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 2 +-drivers/net/ethernet/intel/igb/e1000_mac.c| 2 +-for the igb:
Acked-by Przemek Kitszel <[email protected]>
Quoted 8 lines
Quoted 1 line
2 files changed, 2 insertions(+), 2 deletions(-)you could fix also (perhaps as another commit):
arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts:273: * SGMII Auto-Negotation is enabled by bootloader fornit:
I would also put "about auto-negotiation" at the end of commit message, to make it unique
Nice, thank you. That is perfect to add "about auto-negotiation" in commit.
---Jun.miao
Quoted 30 lines
Quoted 29 lines
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +0
-0@@ -1264,7 +1264,7 @@ static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode) /* Disable and stop any in progress auto-negotiation */ xgbe_an_disable_all(pdata);- /* Clear any auto-negotitation interrupts */ + /* Clear any auto-negotiation interrupts */
xgbe_an_clear_interrupts_all(pdata);pdata->an_result=XGBE_AN_READY;drivers/net/ethernet/intel/igb/e1000_mac.c +0
-1@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw) * igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * - * Verify that when not using auto-negotitation that MDI/MDIx iscorrectly
+ * Verify that when not using auto-negotiation that MDI/MDIx is correctly
* set, which is forced to MDI mode only.
**/
s32igb_validate_mdi_setting(struct e1000_hw *hw)
Quoted 2 lines · Jun Miao
It`s "auto-negotiation", not "auto-negotitation". Let's fix that.
Thanks!
Quoted 32 lines
Signed-off-by Jun Miao <[email protected]>--- drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +1
-1@@ -1264,7 +1264,7 @@ static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode)/* Disable and stop any in progress auto-negotiation */ xgbe_an_disable_all (pdata); -/* Clear any auto-negotitation interrupts */ +/* Clear any auto-negotiation interrupts */ xgbe_an_clear_interrupts_all (pdata); pdata->an_result =XGBE_AN_READY ;drivers/net/ethernet/intel/igb/e1000_mac.c +1
-1@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw)* igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * -* Verify that when not using auto-negotitation that MDI/MDIx is correctly +* Verify that when not using auto-negotiation that MDI/MDIx is correctly * set, which is forced to MDI mode only. **/ s32 igb_validate_mdi_setting (struct e1000_hw *hw)