From nobody Sun Feb 8 07:07:55 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD6D532AACF for ; Sun, 18 Jan 2026 12:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738195; cv=none; b=cUWKM9L1dZf4ljTCRozosFPPyl9yWWTBIBLLNPXc3oRE92+iq0KsTWRI+yt0KRRh2gS5oumt5+AANPk2Ko1azeEGPo3dACRtCIb7dA3FJd75ZSHYu4uhLfjj4zmwjVA9rotTQBbIHlQbTcFFUfvR9n6IDGYLJBIBwQg/0ZNH0Vw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738195; c=relaxed/simple; bh=jK+yNcICvqRbyZARz0kLdDh52epc3bF2uuFBDeCxs4A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rQc1YKnxUjJfcMZLFIhH3mawRiowBrtYMzwRDrCg6MSVIKcLSAeBbP5nRZ6hBe/d1n4IHxkimiQC+SB1sPE/M51L11iCtCg2RznJMDEnsslgIljF57C5QE+hV6ZZl41PKVRukewf5M31oAvvFBKTOdbMVf50Gmk8EB2uHXSffM0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X8TQsg4Q; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X8TQsg4Q" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-47d63594f7eso22988335e9.0 for ; Sun, 18 Jan 2026 04:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768738190; x=1769342990; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k0XcKTBhlolXc9R2eXbUHncEF8lj7/Mk75nDsnHNmv0=; b=X8TQsg4Q5vFIIJUDRGhIajcQopx0WEBTIg+w/YU78W/UVtDLmolttwvY6ObeLuCYCG gLYyrPYml+2BwLqZT40FQdJQJBcL4UE6ji8Idu2mVe0PSlDQ+T7CF+1Ba6YsstyS2koA KX5pEukMsOiybQopMqNZUojb5DDe7uha2N+x7zXbhkspdCmXl9nOen4oh9De5eTcyaeO Z+tWAsBvzQhXaeUXBqtWgz+ACD6/+zpMB/LSe19ykKHjIUmqyXc1a8jmVoj4cejsEiVG 2f0ErgBEWjQsqv5drXkQAAOF7JVm32nyHYcQ7349hiQ9RojP8rFg9H/b/fX7GgCGePJj MoGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768738190; x=1769342990; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=k0XcKTBhlolXc9R2eXbUHncEF8lj7/Mk75nDsnHNmv0=; b=nCv9cErVywAR5pJ5uamOohBegtDMmB73GvWsWRNvYgX7DiIC7gpOI7MdILPhVQOVCc voRfb0l9yPHYlhLkE6XA1Vp8TZKC4sxvIPGe2YmcNrxWeOU76ZryzE79eb40rrJANrGX HGL8grgbguPxiXkCv4MG+NZ8SLxrpcyAE0SZ3Cwp/syxuD7jYlkZ9WgJZhj+P7kBnKqk ALjhCSU33rPd/azzaPMO1ddMO1PH4T4imlzolTL2FXx4ArgBUdNhJSkZOiEwonZkUjwM MJ4cXPxqp5gqxCyEu2KuYYq5tnaC8HN2n9Az76wrGy9OlEhsJT3zcj8Q96fCjKiBUUt2 yh8Q== X-Forwarded-Encrypted: i=1; AJvYcCXEMRcwfO/ObaJ0jar85mI6mrAL9Xk3gFsqB9e1+XnllE+y/90jaw92YzOzpuIyHgxRQxUHioKciSySu50=@vger.kernel.org X-Gm-Message-State: AOJu0YwkerRj89Zrg0DLBmTFJMft/+1E006qSrLduf+gldbh2Wncc7fx ttSvx/nRSwE2Pxvbns3gw3RdKaH9MLRP2UxawgBRwalq6E4isB+8YIgC X-Gm-Gg: AY/fxX7EWJUyJbVg913isbjEK6ZZH1tsR+Tqgn55DLAgEbED6DK/7iDxtM03cTo09xC 6l6MH3QG2CZPcOlM92ZtnkpjvubSUiRSANRrTban31mOnTwZeIGFgQ3OqmNijotYTqrcySqvONY 4HG643EpM2X+y2t1FTXecSiO9pPm0DLTdzlY6U7FCWUablf0+VrPhoFDcce5FG+br94RkC4R2cb qFzlFrdYuxlOMchuhGEHAQdbnZAu+idlDaaIyFVN6l6QFWOPbkrZZn/PNQmggbuaKALYoIF7D6D mRMg/MrEKl3JMDlWvJ0DiCxNSwAxMeETTEMaZC62re2htuTyjwI18iXisG4Kq5wiNT1Z7jeXGqD g3CTfy4ue2OBNvrCiQZEaqE0Y0I4G+7t6G5Z3vHpgr/O9sj/aH0hbH8u3EGqSJq4ybjT3sGQE5T Gq3q2yxGlcSKXkBIG9u8G3g/YZ X-Received: by 2002:a05:600c:4586:b0:477:76cb:4812 with SMTP id 5b1f17b1804b1-4801e2a50e4mr100543305e9.0.1768738189976; Sun, 18 Jan 2026 04:09:49 -0800 (PST) Received: from Arch-Spectre.dur.ac.uk ([129.234.0.168]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801e886829sm138661265e9.8.2026.01.18.04.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 04:09:49 -0800 (PST) From: Yicong Hui To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, david.hunter.linux@gmail.com, Yicong Hui Subject: [PATCH net-next v2 1/3] net/benet: Fix typos in driver code comments Date: Sun, 18 Jan 2026 12:09:59 +0000 Message-ID: <20260118121001.136806-2-yiconghui@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118121001.136806-1-yiconghui@gmail.com> References: <20260118121001.136806-1-yiconghui@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix various typos and misspellings in code comments in the drivers/net/ethernet/emulex directory Signed-off-by: Yicong Hui --- drivers/net/ethernet/emulex/benet/be.h | 8 ++++---- drivers/net/ethernet/emulex/benet/be_cmds.c | 6 +++--- drivers/net/ethernet/emulex/benet/be_cmds.h | 6 +++--- drivers/net/ethernet/emulex/benet/be_ethtool.c | 6 +++--- drivers/net/ethernet/emulex/benet/be_hw.h | 6 +++--- drivers/net/ethernet/emulex/benet/be_main.c | 16 ++++++++-------- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/= emulex/benet/be.h index 270ff9aab335..d2623e35de43 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -672,7 +672,7 @@ struct be_adapter { struct be_error_recovery error_recovery; }; =20 -/* Used for defered FW config cmds. Add fields to this struct as reqd */ +/* Used for deferred FW config cmds. Add fields to this struct as reqd */ struct be_cmd_work { struct work_struct work; struct be_adapter *adapter; @@ -700,19 +700,19 @@ struct be_cmd_work { #define be_max_rxqs(adapter) (adapter->res.max_rx_qs) /* Max number of EQs available for the function (NIC + RoCE (if enabled)) = */ #define be_max_func_eqs(adapter) (adapter->res.max_evt_qs) -/* Max number of EQs available avaialble only for NIC */ +/* Max number of EQs available only for NIC */ #define be_max_nic_eqs(adapter) (adapter->res.max_nic_evt_qs) #define be_if_cap_flags(adapter) (adapter->res.if_cap_flags) #define be_max_pf_pool_rss_tables(adapter) \ (adapter->pool_res.max_rss_tables) -/* Max irqs avaialble for NIC */ +/* Max irqs available for NIC */ #define be_max_irqs(adapter) \ (min_t(u16, be_max_nic_eqs(adapter), num_online_cpus())) =20 /* Max irqs *needed* for RX queues */ static inline u16 be_max_rx_irqs(struct be_adapter *adapter) { - /* If no RSS, need atleast one irq for def-RXQ */ + /* If no RSS, need at least one irq for def-RXQ */ u16 num =3D max_t(u16, be_max_rss(adapter), 1); =20 return min_t(u16, num, be_max_irqs(adapter)); diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethe= rnet/emulex/benet/be_cmds.c index bb5d2fa15736..3a032d4ac598 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c @@ -1941,7 +1941,7 @@ int be_cmd_modify_eqd(struct be_adapter *adapter, str= uct be_set_eqd *set_eqd, return 0; } =20 -/* Uses sycnhronous mcc */ +/* Uses synchronous mcc */ int be_cmd_vlan_config(struct be_adapter *adapter, u32 if_id, u16 *vtag_ar= ray, u32 num, u32 domain) { @@ -2035,7 +2035,7 @@ int be_cmd_rx_filter(struct be_adapter *adapter, u32 = flags, u32 value) return __be_cmd_rx_filter(adapter, flags, value); } =20 -/* Uses synchrounous mcc */ +/* Uses synchronous mcc */ int be_cmd_set_flow_control(struct be_adapter *adapter, u32 tx_fc, u32 rx_= fc) { struct be_mcc_wrb *wrb; @@ -2074,7 +2074,7 @@ int be_cmd_set_flow_control(struct be_adapter *adapte= r, u32 tx_fc, u32 rx_fc) return status; } =20 -/* Uses sycn mcc */ +/* Uses sync mcc */ int be_cmd_get_flow_control(struct be_adapter *adapter, u32 *tx_fc, u32 *r= x_fc) { struct be_mcc_wrb *wrb; diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.h b/drivers/net/ethe= rnet/emulex/benet/be_cmds.h index 5e2d3ddb5d43..fcc298ce2c77 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.h +++ b/drivers/net/ethernet/emulex/benet/be_cmds.h @@ -1134,14 +1134,14 @@ struct be_cmd_resp_get_fw_version { u8 fw_on_flash_version_string[FW_VER_LEN]; } __packed; =20 -/******************** Set Flow Contrl *******************/ +/******************** Set Flow Control *******************/ struct be_cmd_req_set_flow_control { struct be_cmd_req_hdr hdr; u16 tx_flow_control; u16 rx_flow_control; } __packed; =20 -/******************** Get Flow Contrl *******************/ +/******************** Get Flow Control *******************/ struct be_cmd_req_get_flow_control { struct be_cmd_req_hdr hdr; u32 rsvd; @@ -2069,7 +2069,7 @@ struct be_cmd_resp_get_stats_v2 { struct be_hw_stats_v2 hw_stats; }; =20 -/************** get fat capabilites *******************/ +/************** get fat capabilities *******************/ #define MAX_MODULES 27 #define MAX_MODES 4 #define MODE_UART 0 diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/e= thernet/emulex/benet/be_ethtool.c index f9216326bdfe..f55f1fd5d90f 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c @@ -142,7 +142,7 @@ static const struct be_ethtool_stat et_rx_stats[] =3D { * to HW. */ {DRVSTAT_RX_INFO(rx_post_fail)}, - /* Recevied packets dropped due to skb allocation failure */ + /* Received packets dropped due to skb allocation failure */ {DRVSTAT_RX_INFO(rx_drops_no_skbs)}, /* Received packets dropped due to lack of available fetched buffers * posted by the driver. @@ -189,7 +189,7 @@ static const struct be_ethtool_stat et_tx_stats[] =3D { {DRVSTAT_TX_INFO(tx_bytes)}, {DRVSTAT_TX_INFO(tx_pkts)}, {DRVSTAT_TX_INFO(tx_vxlan_offload_pkts)}, - /* Number of skbs queued for trasmission by the driver */ + /* Number of skbs queued for transmission by the driver */ {DRVSTAT_TX_INFO(tx_reqs)}, /* Number of times the TX queue was stopped due to lack * of spaces in the TXQ. @@ -1222,7 +1222,7 @@ static void be_get_channels(struct net_device *netdev, ch->tx_count =3D adapter->num_tx_qs - ch->combined_count; =20 ch->max_combined =3D be_max_qp_irqs(adapter); - /* The user must create atleast one combined channel */ + /* The user must create at least one combined channel */ ch->max_rx =3D be_max_rx_irqs(adapter) - 1; ch->max_tx =3D be_max_tx_irqs(adapter) - 1; } diff --git a/drivers/net/ethernet/emulex/benet/be_hw.h b/drivers/net/ethern= et/emulex/benet/be_hw.h index 3476194f0855..42e83ff9c52f 100644 --- a/drivers/net/ethernet/emulex/benet/be_hw.h +++ b/drivers/net/ethernet/emulex/benet/be_hw.h @@ -16,7 +16,7 @@ * The software must write this register twice to post any command. First, * it writes the register with hi=3D1 and the upper bits of the physical a= ddress * for the MAILBOX structure. Software must poll the ready bit until this - * is acknowledged. Then, sotware writes the register with hi=3D0 with the= lower + * is acknowledged. Then, software writes the register with hi=3D0 with th= e lower * bits in the address. It must poll the ready bit until the command is * complete. Upon completion, the MAILBOX will contain a valid completion * queue entry. @@ -27,7 +27,7 @@ =20 #define MPU_EP_CONTROL 0 =20 -/********** MPU semphore: used for SH & BE *************/ +/********** MPU semaphore: used for SH & BE *************/ #define SLIPORT_SOFTRESET_OFFSET 0x5c /* CSR BAR offset */ #define SLIPORT_SEMAPHORE_OFFSET_BEx 0xac /* CSR BAR offset */ #define SLIPORT_SEMAPHORE_OFFSET_SH 0x94 /* PCI-CFG offset */ @@ -39,7 +39,7 @@ /* Soft Reset register masks */ #define SLIPORT_SOFTRESET_SR_MASK 0x00000080 /* SR bit */ =20 -/* MPU semphore POST stage values */ +/* MPU semaphore POST stage values */ #define POST_STAGE_AWAITING_HOST_RDY 0x1 /* FW awaiting goahead from host= */ #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */ #define POST_STAGE_BE_RESET 0x3 /* Host wants to reset chip */ diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethe= rnet/emulex/benet/be_main.c index 5bb31c8fab39..b633c6e2bab7 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -61,7 +61,7 @@ static const struct pci_device_id be_dev_ids[] =3D { }; MODULE_DEVICE_TABLE(pci, be_dev_ids); =20 -/* Workqueue used by all functions for defering cmd calls to the adapter */ +/* Workqueue used by all functions for deferring cmd calls to the adapter = */ static struct workqueue_struct *be_wq; =20 /* UE Status Low CSR */ @@ -1129,7 +1129,7 @@ static struct sk_buff *be_lancer_xmit_workarounds(str= uct be_adapter *adapter, struct iphdr *ip; =20 /* For padded packets, BE HW modifies tot_len field in IP header - * incorrecly when VLAN tag is inserted by HW. + * incorrectly when VLAN tag is inserted by HW. * For padded packets, Lancer computes incorrect checksum. */ eth_hdr_len =3D ntohs(skb->protocol) =3D=3D ETH_P_8021Q ? @@ -2568,7 +2568,7 @@ static struct be_rx_compl_info *be_rx_compl_get(struc= t be_rx_obj *rxo) rxcp->vlanf =3D 0; } =20 - /* As the compl has been parsed, reset it; we wont touch it again */ + /* As the compl has been parsed, reset it; we won't touch it again */ compl->dw[offsetof(struct amap_eth_rx_compl_v1, valid) / 32] =3D 0; =20 queue_tail_inc(&rxo->cq); @@ -2727,7 +2727,7 @@ static struct be_tx_compl_info *be_tx_compl_get(struc= t be_adapter *adapter, if (txcp->status) { if (lancer_chip(adapter)) { lancer_update_tx_err(txo, txcp->status); - /* Reset the adapter incase of TSO, + /* Reset the adapter in case of TSO, * SGE or Parity error */ if (txcp->status =3D=3D LANCER_TX_COMP_LSO_ERR || @@ -3125,7 +3125,7 @@ static int be_rx_cqs_create(struct be_adapter *adapte= r) adapter->num_rss_qs =3D min(adapter->num_evt_qs, adapter->cfg_num_rx_irqs); =20 - /* We'll use RSS only if atleast 2 RSS rings are supported. */ + /* We'll use RSS only if at least 2 RSS rings are supported. */ if (adapter->num_rss_qs < 2) adapter->num_rss_qs =3D 0; =20 @@ -3167,7 +3167,7 @@ static irqreturn_t be_intx(int irq, void *dev) /* IRQ is not expected when NAPI is scheduled as the EQ * will not be armed. * But, this can happen on Lancer INTx where it takes - * a while to de-assert INTx or in BE2 where occasionaly + * a while to de-assert INTx or in BE2 where occasionally * an interrupt may be raised even when EQ is unarmed. * If NAPI is already scheduled, then counting & notifying * events will orphan them. @@ -4415,7 +4415,7 @@ static void be_setup_init(struct be_adapter *adapter) /* HW supports only MAX_PORT_RSS_TABLES RSS Policy Tables per port. * However, this HW limitation is not exposed to the host via any SLI cmd. * As a result, in the case of SRIOV and in particular multi-partition con= figs - * the driver needs to calcuate a proportional share of RSS Tables per PF-= pool + * the driver needs to calculate a proportional share of RSS Tables per PF= -pool * for distribution between the VFs. This self-imposed limit will determin= e the * no: of VFs for which RSS can be enabled. */ @@ -4519,7 +4519,7 @@ static int be_get_resources(struct be_adapter *adapte= r) if (status) return status; =20 - /* If a deafault RXQ must be created, we'll use up one RSSQ*/ + /* If a default RXQ must be created, we'll use up one RSSQ*/ if (res.max_rss_qs && res.max_rss_qs =3D=3D res.max_rx_qs && !(res.if_cap_flags & BE_IF_FLAGS_DEFQ_RSS)) res.max_rss_qs -=3D 1; --=20 2.52.0 From nobody Sun Feb 8 07:07:55 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB63832B999 for ; Sun, 18 Jan 2026 12:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738198; cv=none; b=YAtttGq48YUwtk7MufoxcnhLBzmmx7IWKUD3lXmS/cWA3Tz1MoJMyJCELP3Rnwz1rkzDzzfgV5Kv1GTaVRoM4sAMdGNL6Blako9TPEBFRVI4dO1XRSUYBrY47f7fLc6P8Hl6rAQrU3vOZgt6aIGpiK6wWD20ie8XLe8gGgBkxSs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738198; c=relaxed/simple; bh=hjP6L/XQKWvMQgY4uYKAMsXrmG+RNpjdL5M/l3wgAvc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B5nPmqdXv/Zul+xyKappTc6HvJKp4BEh1hVm1yAoSNEL97LOMATqlc0ml+jAz8G7ibW4y2raDkQeGu/NZlMcD4Pim9C/UHCyPTHAGasMPwyVJToMDYi4ssGX9CFuMcY+l6Vb+L9p+Sk/82siV7U9i16U676WIn4tCYcUv0stCKs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DFZK12uV; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DFZK12uV" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4801c731d0aso18580295e9.1 for ; Sun, 18 Jan 2026 04:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768738191; x=1769342991; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y6M4GdVcc0onBFZmKSw0N1uzgLv84XPmgy7pOdhOiFk=; b=DFZK12uV0ZubAxI5PiZ6Cz+422U4DYxAJ0MRxLyAR2Xk+wck9/Iqc1y8+dvo+kfCjD S3/XbNnQjteZiV26n/dzxshJvA+sgsUsygo4fXBKgPA2K1E7Vr4pCCaiudZxMsv208YK PLbd7a+8i2sp9cLyFo262gFsouwxg2QZdtXQp8BlUOmalJYqCugW8QPn2lE96SbLAXIJ 5me0lw8wEvr9EAC1yloEK8J5zaLNcwVI4wa/yT/VWEYboqhYpbCYQ08DrYldCKnvQDB7 54KX3pXyHPN9ZroFyyoYBBLj174xYkv2WPVDnk9b6m9Mc2ysA8xXZb/eM7Kw2Mxfu7Uw 4YuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768738191; x=1769342991; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Y6M4GdVcc0onBFZmKSw0N1uzgLv84XPmgy7pOdhOiFk=; b=EaM++qvLfk3uDU2nUTUxlCUtZkpXHBJ8MwOd3OONVobXhgRDZG36WHhKqBwQ715oYK b4fKE0+LxFMuMXB62V66oU5RJlOrNGyq3ETQowEs+9uEdRTYBo9Ms8CKzaE9xQ1QLh6f e0yNWgxoyhCPQjBpbGzPuXh7TJ4bdTGpDNVvj6xFAd++IgmsIqn3M/vblkN9oHiffBiH 7hOBZs7LeS0AasXClTF/LnLi+U7QLWBFf2ww1+WwC6QVhhjzx3piE+fAv5nVV2YzuaXy wr2CHxPvoJkJi9nL/95BTYUa8kPjS/cwM3gemdFD0RXcPaDFbcjKiAGyL1ZgaVUOL9Xq CxJQ== X-Forwarded-Encrypted: i=1; AJvYcCUAOVKgBIL+mMFtAEBg7ZISSA8xrdvViizX+EuAX7LxQiIOC2pvuiNLEOnJAo73KQzWkLpRurXliB0VLzM=@vger.kernel.org X-Gm-Message-State: AOJu0YyGqDvg6XFHkJZKNoIAybxnlkAt5UFYdKZOmU1nQMZqFiLSJ4a2 H1JXmA7Khuao6TPg3hG7B+vlSj/otjyfSTcvuUEpiyaZVY7nkhgnRPgwvmQtZM1r91U= X-Gm-Gg: AY/fxX4jHpTZ4i2IWEJa6JS+YzbgRZOrbBHoxgy+P5XX7GSQj4DKqlNMCLLHz/e5kUX exiHwtot2V52oJ3FqvrYFGpFWJ3WLdMSbqo4GdNbRElY4d51U+IMHQtIgl5VOeinIo0ICMeFsUZ rb8dtKX6p2CmT+Zc2xuSsKmeThBvgg50mrh+7QHxp9g9JBzGqX3Ugun3FuHlXq7kfZr+UKVewWa BPjViMDze7TuTMAcxG86Pl9EMWoKRPFqnyguuYeAkQFoD75cvSZz++fPbW/OVcVOYxZ5MSBZcw5 6I8b9G37SAQU/b6Zp6foHaHL2RinwbHMJzW0lwjxqXdEo3JTegAyM5JAIJphqs9WIIcshSXdFQx 7EZraF7Ax85QMU4Mc4Jx4lKy8ZhaBghkfaXcSpdjz3SUCUm/SnxVBRaHRMZ0FEYgOC12uIpQDEz rzbKSrXK5YstHdWhuVs51gnSHf X-Received: by 2002:a05:600c:3486:b0:480:29f1:120d with SMTP id 5b1f17b1804b1-48029f11458mr44090385e9.11.1768738191100; Sun, 18 Jan 2026 04:09:51 -0800 (PST) Received: from Arch-Spectre.dur.ac.uk ([129.234.0.168]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801e886829sm138661265e9.8.2026.01.18.04.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 04:09:50 -0800 (PST) From: Yicong Hui To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, david.hunter.linux@gmail.com, Yicong Hui Subject: [PATCH net-next v2 2/3] net/micrel: Fix typos in micrel driver code comments Date: Sun, 18 Jan 2026 12:10:00 +0000 Message-ID: <20260118121001.136806-3-yiconghui@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118121001.136806-1-yiconghui@gmail.com> References: <20260118121001.136806-1-yiconghui@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix various typos and misspellings in code comments in the drivers/net/ethernet/micrel directory Signed-off-by: Yicong Hui --- drivers/net/ethernet/micrel/ks8842.c | 4 ++-- drivers/net/ethernet/micrel/ks8851_common.c | 2 +- drivers/net/ethernet/micrel/ks8851_spi.c | 4 ++-- drivers/net/ethernet/micrel/ksz884x.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/micrel/ks8842.c b/drivers/net/ethernet/mi= crel/ks8842.c index 541c41a9077a..b7cf2ee9115f 100644 --- a/drivers/net/ethernet/micrel/ks8842.c +++ b/drivers/net/ethernet/micrel/ks8842.c @@ -242,7 +242,7 @@ static void ks8842_reset(struct ks8842_adapter *adapter) msleep(10); iowrite16(0, adapter->hw_addr + REG_GRR); } else { - /* The KS8842 goes haywire when doing softare reset + /* The KS8842 goes haywire when doing software reset * a work around in the timberdale IP is implemented to * do a hardware reset instead ks8842_write16(adapter, 3, 1, REG_GRR); @@ -312,7 +312,7 @@ static void ks8842_reset_hw(struct ks8842_adapter *adap= ter) /* aggressive back off in half duplex */ ks8842_enable_bits(adapter, 32, 1 << 8, REG_SGCR1); =20 - /* enable no excessive collison drop */ + /* enable no excessive collision drop */ ks8842_enable_bits(adapter, 32, 1 << 3, REG_SGCR2); =20 /* Enable port 1 force flow control / back pressure / transmit / recv */ diff --git a/drivers/net/ethernet/micrel/ks8851_common.c b/drivers/net/ethe= rnet/micrel/ks8851_common.c index bb5138806c3f..8048770958d6 100644 --- a/drivers/net/ethernet/micrel/ks8851_common.c +++ b/drivers/net/ethernet/micrel/ks8851_common.c @@ -480,7 +480,7 @@ static int ks8851_net_open(struct net_device *dev) * ks8851_net_stop - close network device * @dev: The device being closed. * - * Called to close down a network device which has been active. Cancell any + * Called to close down a network device which has been active. Cancel any * work, shutdown the RX and TX process and then place the chip into a low * power state whilst it is not being used. */ diff --git a/drivers/net/ethernet/micrel/ks8851_spi.c b/drivers/net/etherne= t/micrel/ks8851_spi.c index c862b13b447a..a161ae45743a 100644 --- a/drivers/net/ethernet/micrel/ks8851_spi.c +++ b/drivers/net/ethernet/micrel/ks8851_spi.c @@ -39,7 +39,7 @@ static int msg_enable; * * The @lock ensures that the chip is protected when certain operations are * in progress. When the read or write packet transfer is in progress, most - * of the chip registers are not ccessible until the transfer is finished = and + * of the chip registers are not accessible until the transfer is finished= and * the DMA has been de-asserted. */ struct ks8851_net_spi { @@ -298,7 +298,7 @@ static unsigned int calc_txlen(unsigned int len) =20 /** * ks8851_tx_work - process tx packet(s) - * @work: The work strucutre what was scheduled. + * @work: The work structure what was scheduled. * * This is called when a number of packets have been scheduled for * transmission and need to be sent to the device. diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/m= icrel/ksz884x.c index cdde19b8edc4..60223f03482d 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -1166,7 +1166,7 @@ struct ksz_port_info { * @tx_cfg: Cached transmit control settings. * @rx_cfg: Cached receive control settings. * @intr_mask: Current interrupt mask. - * @intr_set: Current interrup set. + * @intr_set: Current interrupt set. * @intr_blocked: Interrupt blocked. * @rx_desc_info: Receive descriptor information. * @tx_desc_info: Transmit descriptor information. @@ -2096,7 +2096,7 @@ static void sw_dis_prio_rate(struct ksz_hw *hw, int p= ort) } =20 /** - * sw_init_prio_rate - initialize switch prioirty rate + * sw_init_prio_rate - initialize switch priority rate * @hw: The hardware instance. * * This routine initializes the priority rate function of the switch. --=20 2.52.0 From nobody Sun Feb 8 07:07:55 2026 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AE0032AAB7 for ; Sun, 18 Jan 2026 12:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738199; cv=none; b=tEIfl9NvRu+v3Z5ILG3gv5++e/hY0Hy/VPkDR7mtH7bFxPTuECftx2mwMp/B2YZxH4KmGQl72CUgWOtRvfpyc6RVsfGQvKuvwt7eCG78JB35aDORbmb7aHlS80Gb1ZdnTgPCelLopCaaN5CjUzwVDXJTLhGhyEn1iVVLkQjX/Vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768738199; c=relaxed/simple; bh=MW+N51v5WgRbDBiGoWVdusM1RQlch5ALs7Q29Ez16fE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E3YwaQXW/iByflPs/TbgeSsYpmEm5UNI4nL89ryROeKMKorDyriIUJKMvpDTG6bpYQi3StXXSaCIyVe7RJrnfeJniCbkd8awt7Ycd89+9mi7Z9I5J0mjRBNKbl8W1cijGxKtmrPz3yD04cIokzC5yY04udLMjS1cww7UPJR37M0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aJNBcfU8; arc=none smtp.client-ip=209.85.128.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aJNBcfU8" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-47ee76e8656so39445225e9.0 for ; Sun, 18 Jan 2026 04:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768738193; x=1769342993; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GZM51dbvVuRPfudKUOjkv/I+szqU4KPnDbRK7ZQAV0I=; b=aJNBcfU8C3acq7NIw0b1X2BP5dwBcGzOdcjq6N7Z3nX8lFzLH25hC5azYZMyklwsE+ YC/YdZ8Z/zJxieD1lh77GwPOOaEH9n6soKgRFdoDU/tOdK3DshkxLoLMJv03B6EfuNBH 3kLsvcdffO6Y1iQ7UkDE8ydsbEPUg0X/OWU8oTdqlmga8m/cy5MBGtR3c2ELZgiYmVOP vY3Gv0G2/Ld/nOiISn75sSQZdMXV+Z+JjTvGWSiYyOv9C2ELp/hHbkJgrldN2kgQCmGn IZcLr0X1Zp/N4MuocML2wwHQzcJgpxa3L/fzARxzfr+67Eet8s/OHvHJZ/T1JnrXb4R7 zsQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768738193; x=1769342993; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GZM51dbvVuRPfudKUOjkv/I+szqU4KPnDbRK7ZQAV0I=; b=DrJbcz2dDnDmxiHK4j4QNF9Yp07gsqWJBFhANrwxD1ADEI9wua/M4Pb+8EULM2UNll MJ8W7sJMXTEyqB7Nd1HL2cCu1iMLTebPAWr9yOhlX6zSS0redlPVxt93arqPq0q6SOet u5Z+6WRwOEjMiHj6bOHPSI38/FWF4EdwdSMM5CqcuSCYKqGp2RZ50PxpNMHPsobtCr1s FzmiqZlz+C6ZujRBPvs1X+tT4MdL3NG34qUbD+bDXk/Xazgzf8I0OsS/bGUNxkEjglqP YB95A7efuZzTNiqUhG5XNp+sBiFJA3TeHl/maLHeJ5T4s8Fb/SgKhe1RtG7+GqtS/AgI fsFQ== X-Forwarded-Encrypted: i=1; AJvYcCXpwMDfGnhFbN9hG77KgmdkYCU9o2liktUNTz6QVII6HiLJyykcVOCUdUcBophKAdoYESIy2W8mgRphY5o=@vger.kernel.org X-Gm-Message-State: AOJu0YyQgP87UmA6BhMI/w5xo4HYJUhxoi0RsEPViOXK4vgQI98LtXwO T4Tw9CEc+UFypuMDIr7EuMJif538yNTs1nhx7hsUPKIIfLdB4AZ0AfBV X-Gm-Gg: AY/fxX6GPA8h/EPu9SVHFp0Q64S+SNGQTkztvjZEZ7yWjY991uK40QB5Jhgk3zQ1q7n ufZIC5cLUEr4f3zJ0VU6WfBwk4GxBVtFHhSu6es0QrxgqbOWqiMxX6uJbmBOQtRxG/sOGrmXcaX N79rTG/jgwu/FCC7OGxRVWfJjacBS4nYofM2uqvpQyA6UbW5F7BJ+tM/APaRXDL3y/2HhJ/Rx7j YujmjHH5rdsbyj3iFfPAQCn9T1X+7H/XF52J/9rRV98dBXP1iA2Msz+9Iv1e5HiDUy48dFLHY+s MezAEyFtH+GZepY/wCByfO9ur4ffXdxEbYgl2rY9AqiKBujC8MTvhNh216NkHO1N+feEJsuBtv9 pMFKny98wRmbmQcxd72zZBYSO45K8MVVJpriS6/lnusahiDPSvpR/fv78XptEZFUhGfPQTSMUE4 C8VuBrtZAonG/NYgOHsax/EpWLNk5bnhE6KCw= X-Received: by 2002:a05:600c:4e50:b0:47d:18b0:bb9a with SMTP id 5b1f17b1804b1-4801e34dafbmr99734575e9.33.1768738192676; Sun, 18 Jan 2026 04:09:52 -0800 (PST) Received: from Arch-Spectre.dur.ac.uk ([129.234.0.168]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801e886829sm138661265e9.8.2026.01.18.04.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 04:09:52 -0800 (PST) From: Yicong Hui To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, david.hunter.linux@gmail.com, Yicong Hui Subject: [PATCH net-next v2 3/3] net/xen-netback: Fix mispelling of "Software" as "Softare" Date: Sun, 18 Jan 2026 12:10:01 +0000 Message-ID: <20260118121001.136806-4-yiconghui@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118121001.136806-1-yiconghui@gmail.com> References: <20260118121001.136806-1-yiconghui@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix misspelling of "software" as "softare" in xen-netback code comment. Signed-off-by: Yicong Hui --- drivers/net/xen-netback/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/xen-netback/hash.c b/drivers/net/xen-netback/hash.c index 45ddce35f6d2..c6b2eba3511b 100644 --- a/drivers/net/xen-netback/hash.c +++ b/drivers/net/xen-netback/hash.c @@ -3,7 +3,7 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 - * as published by the Free Softare Foundation; or, when distributed + * as published by the Free Software Foundation; or, when distributed * separately from the Linux kernel or incorporated into other * software packages, subject to the following license: * --=20 2.52.0