mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jun Miao <jun.miao@intel.com>
To: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Cc: <linux-kernel@vger.kernel.org>, <anthony.l.nguyen@intel.com>,
	<Shyam-sundar.S-k@amd.com>
Subject: Re: [PATCH] net/ethernet: fix typo in annotation comment
Date: Fri, 6 Dec 2024 09:20:31 +0800	[thread overview]
Message-ID: <42d0a757-fac2-48f7-b6fa-3f7c35037081@intel.com> (raw)
In-Reply-To: <37e7bcc9-d9c0-48fa-b4ce-fd543defb929@intel.com>


On 2024/12/5 18:21, Przemek Kitszel wrote:
> On 12/5/24 07:52, Jun Miao wrote:
>> It`s "auto-negotiation", not "auto-negotitation". Let's fix that.
>>
>> Signed-off-by: Jun Miao <jun.miao@intel.com>
>> ---
>>   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 <przemyslaw.kitszel@intel.com>
>
>>   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

Nice, thank you. That is perfect to add "about auto-negotiation" in commit.

---Jun.miao

>
>>
>> diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 
>> b/drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
>> index 07f4f3418d01..5597e7df0aba 100644
>> --- a/drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
>> +++ b/drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
>> @@ -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;
>> diff --git a/drivers/net/ethernet/intel/igb/e1000_mac.c 
>> b/drivers/net/ethernet/intel/igb/e1000_mac.c
>> index fa3dfafd2bb1..2bcce6eef0c7 100644
>> --- a/drivers/net/ethernet/intel/igb/e1000_mac.c
>> +++ b/drivers/net/ethernet/intel/igb/e1000_mac.c
>> @@ -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)
>

  reply	other threads:[~2024-12-06  1:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-05  6:52 Jun Miao
2024-12-05 10:21 ` Przemek Kitszel
2024-12-06  1:20   ` Jun Miao [this message]
2024-12-05 10:25 ` Shyam Sundar S K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42d0a757-fac2-48f7-b6fa-3f7c35037081@intel.com \
    --to=jun.miao@intel.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=przemyslaw.kitszel@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®