From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0AD7C43334 for ; Wed, 29 Jun 2022 15:11:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4E87E827BB; Wed, 29 Jun 2022 15:11:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4E87E827BB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1656515513; bh=UTnD9ZT+JIViUkb5UwHvnv3Qb8QPOUcTAsvGk1DvMJM=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=GkhAxxGiKcKW566jDigAM3fv0LFst9uJhmrRZK3UFKZr6DVZnubjZY+I3WHIDfFZA kSVCNBQpA7Mj9pI8fl/5V/w/jIdrHlIzBqRzIn4o+NUB4ZiWGpnUAmq7+u6MTecU92 ezX50S+WTB4yM4rwr2Yt5N7PjlSCNWgws55Ge5D7Idgo82OrZjkcf8cSQpsDpfiUIf xi7epMKfk2HF5GXZdToLnt2JPDRHy1Ygj26QXTnp4+0ovM0Kp7XihSHPy+SDeWgvxI 6qd0XamM3JppNqIE39M0u+9Fd0YVDzq+7dCQn2uikrs6sawTlfZoUab1oTRFn4tQlj sywiyiSYx1fYA== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XKQ6dp0j5lpy; Wed, 29 Jun 2022 15:11:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 4B777827A8; Wed, 29 Jun 2022 15:11:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4B777827A8 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7FA781BF28F for ; Wed, 29 Jun 2022 14:17:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 55547840F0 for ; Wed, 29 Jun 2022 14:17:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 55547840F0 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dHSSQShHxkQD for ; Wed, 29 Jun 2022 14:17:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E6583840EE Received: from smtpbg.qq.com (unknown [43.155.67.158]) by smtp1.osuosl.org (Postfix) with ESMTPS id E6583840EE for ; Wed, 29 Jun 2022 14:17:30 +0000 (UTC) X-QQ-mid: bizesmtp83t1656512237tjzkwm5b Received: from localhost.localdomain ( [182.148.13.66]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 29 Jun 2022 22:17:14 +0800 (CST) X-QQ-SSF: 0100000000200060C000C00A0000000 X-QQ-FEAT: dLvv507TVpQIdL/x1ynPIdYqh6JthnLEqmtvph9RisMObet0dM2sNVX/jylm1 QZca3Y4gSGvPO5ZZAdzDnJvziKtQ7OYo4kdUrkEX7iM5G7OOuvcG0K+3tah9eUtxCopP0d7 oC4Jv5ydP8ZtCDPteglIWbEPjPUj97i8+Ri9ptm5dZv8LpnbSCENnhQGuz6XqPGEPHxk1Ce axK54lvVY+DOOXfitZqbb4TEY0VtKllR7ZgL/8QJRwgQw0t7mAsuTodhNP8WqYhMQmEoJho ms590Gl0hZSvYzPYmd+K9p2Ppb61e8iq7zUj5/J8dDGwa5fHDhD1I9OzLyR9aFwl4uNrNzL 4246+LHzORggWq1Xxg= X-QQ-GoodBg: 0 From: Jilin Yuan To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Date: Wed, 29 Jun 2022 22:17:08 +0800 Message-Id: <20220629141708.13292-1-yuanjilin@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 X-Mailman-Approved-At: Wed, 29 Jun 2022 15:11:26 +0000 Subject: [Intel-wired-lan] [PATCH] intel/igb:fix repeated words in comments X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Jilin Yuan , intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Delete the redundant word 'the'. Delete the redundant word 'frames'. Delete the redundant word 'set'. Delete the redundant word 'slot'. Signed-off-by: Jilin Yuan --- drivers/net/ethernet/intel/igb/e1000_82575.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- drivers/net/ethernet/intel/igb/igb_main.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c index cbe92fd23a70..8d6e44ee1895 100644 --- a/drivers/net/ethernet/intel/igb/e1000_82575.c +++ b/drivers/net/ethernet/intel/igb/e1000_82575.c @@ -2207,7 +2207,7 @@ s32 igb_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) * igb_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits * @hw: pointer to the HW structure * - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on * the values found in the EEPROM. This addresses an issue in which these * bits are not restored from EEPROM after reset. **/ diff --git a/drivers/net/ethernet/intel/igb/e1000_mac.c b/drivers/net/ethernet/intel/igb/e1000_mac.c index 1277c5c7d099..205d577bdbba 100644 --- a/drivers/net/ethernet/intel/igb/e1000_mac.c +++ b/drivers/net/ethernet/intel/igb/e1000_mac.c @@ -854,7 +854,7 @@ s32 igb_force_mac_fc(struct e1000_hw *hw) * 1: Rx flow control is enabled (we can receive pause * frames but not send pause frames). * 2: Tx flow control is enabled (we can send pause frames - * frames but we do not receive pause frames). + * but we do not receive pause frames). * 3: Both Rx and TX flow control (symmetric) is enabled. * other: No other values should be possible at this point. */ diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 68be2976f539..85e8de511d35 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -1945,7 +1945,7 @@ static void igb_setup_tx_mode(struct igb_adapter *adapter) * However, when we do so, no frame from queue 2 and 3 are * transmitted. It seems the MAX_TPKT_SIZE should not be great * or _equal_ to the buffer size programmed in TXPBS. For this - * reason, we set set MAX_ TPKT_SIZE to (4kB - 1) / 64. + * reason, we set MAX_ TPKT_SIZE to (4kB - 1) / 64. */ val = (4096 - 1) / 64; wr32(E1000_I210_DTXMXPKTSZ, val); @@ -9519,7 +9519,7 @@ static pci_ers_result_t igb_io_error_detected(struct pci_dev *pdev, igb_down(adapter); pci_disable_device(pdev); - /* Request a slot slot reset. */ + /* Request a slot reset. */ return PCI_ERS_RESULT_NEED_RESET; } -- 2.36.1 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan