net: fix typos and repeated words in comments
Subsystems (19)
v3 cover net: fix typos and repeated words in comments
Fix misspellings and repeated words in comments across the networking code, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
Changes since v2:
- v2 put 184 changes in a single patch. Andrew Lunn asked for it to be split by vendor, which comes to 54 patches, so this is the first batch. maintainer-netdev.rst asks for no more than 15 patches outstanding against a tree at a time and I have five in flight already, so this batch is 10. The rest will follow as these are applied.
- patches 1 and 2 are unchanged from v2 and carry Andrew's Reviewed-by. They are resent because the v2 series was marked superseded, so they would otherwise be dropped on the floor.
- dropped the sfc mcdi_pcol.h patch (v2 4/6) even though Andrew had reviewed it. Edward Cree pointed out that header and the Siena copy are generated from the firmware definitions, so an edit here would be overwritten the next time they are regenerated; he has forwarded the typos to the firmware team instead. The sfc changes outside pcol are unaffected and will come in a later batch.
- dropped the 8390 patch, the driver is Orphan / Obsolete in MAINTAINERS.
- dropped one octeontx2 hunk, in otx2_pf.c, because the comment holding the typo has since been rewritten upstream. The remaining octeontx2 typos are still fixed in the marvell patch.
- dropped an "amount of times" to "number of times" change in qed_dev.c. That is a wording fix rather than a misspelling, so it does not belong in this series.
- v2 6/6 (net: usb, "Medium Mode mode") is not in this batch. Andrew asked me to check the data sheet for that one, and I will answer on that thread before resending it.
- rebased onto net-next.
Jijie Shao's Reviewed-by is carried on the hisilicon patch only, since he scoped it to the hns and hns3 parts.
Hemanth Selam (10):
net: llc: fix repeated word 'all' in comment
selftests: net: fix repeated word 'use' in comment
net: broadcom: fix typos in comments
net: cavium: fix typos in comments
net: qlogic: fix typos in comments
net: fddi: fix typos in comments
net: marvell: fix typos in comments
net: hisilicon: fix typos in comments
net: atheros: fix typos in comments
net: dec: fix typos in comments
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e.h | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_hw.c | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +- drivers/net/ethernet/atheros/atlx/atl1.c | 2 +- drivers/net/ethernet/atheros/atlx/atl2.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.h | 2 +- drivers/net/ethernet/broadcom/bcmsysport.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 4 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 4 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 8 ++++---- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 4 ++-- drivers/net/ethernet/cavium/liquidio/cn66xx_device.c | 2 +- drivers/net/ethernet/cavium/liquidio/lio_core.c | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_config.h | 4 ++-- drivers/net/ethernet/cavium/liquidio/octeon_iq.h | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_main.h | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_nic.h | 2 +- drivers/net/ethernet/cavium/liquidio/request_manager.c | 2 +- drivers/net/ethernet/cavium/thunder/nic.h | 2 +- drivers/net/ethernet/cavium/thunder/nic_main.c | 2 +- drivers/net/ethernet/dec/tulip/de2104x.c | 2 +- drivers/net/ethernet/dec/tulip/interrupt.c | 4 ++-- drivers/net/ethernet/dec/tulip/media.c | 2 +- drivers/net/ethernet/dec/tulip/tulip.h | 4 ++-- drivers/net/ethernet/dec/tulip/winbond-840.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 4 ++-- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 2 +- drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c | 8 ++++---- drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++-- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 2 +- drivers/net/ethernet/marvell/pxa168_eth.c | 4 ++-- drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_mcp.h | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 ++-- drivers/net/fddi/skfp/cfm.c | 2 +- drivers/net/fddi/skfp/ecm.c | 2 +- drivers/net/fddi/skfp/fplustm.c | 4 ++-- drivers/net/fddi/skfp/h/hwmtm.h | 2 +- drivers/net/fddi/skfp/h/sba.h | 2 +- drivers/net/fddi/skfp/pcmplc.c | 2 +- drivers/net/fddi/skfp/rmt.c | 2 +- net/llc/llc_conn.c | 2 +- tools/testing/selftests/net/xfrm_policy.sh | 2 +- 59 files changed, 77 insertions(+), 77 deletions(-)
Signature · 1 line
2.48.1
PATCH v3 1/10 net: llc: fix repeated word 'all' in comment
Drop the second 'all', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.
--- net/llc/llc_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/llc/llc_conn.c +1 -1
@@ -193,7 +193,7 @@ void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb) }/** -* llc_conn_resend_i_pdu_as_cmd - resend all all unacknowledged I PDUs +* llc_conn_resend_i_pdu_as_cmd - resend all unacknowledged I PDUs * @sk: active connection * @nr: NR * @first_p_bit: p_bit value of first pdu
Signature · 1 line
2.48.1
PATCH v3 2/10 selftests: net: fix repeated word 'use' in comment
In reply to Hemanth SelamDrop the second 'use', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.
--- tools/testing/selftests/net/xfrm_policy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/xfrm_policy.sh +1 -1
@@ -242,7 +242,7 @@ check_exceptions() echo "PASS: ping to .254 bypassed ipsec tunnel ($logpostfix)" fi - # ping to .253 should use use ipsec due to direct policy exception. + # ping to .253 should use ipsec due to direct policy exception. check_xfrm 1 253 if [ $? -ne 0 ]; then echo "FAIL: expected ping to .253 to use ipsec tunnel ($logpostfix)"
Signature · 1 line
2.48.1
PATCH v3 3/10 net: broadcom: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.h | 2 +- drivers/net/ethernet/broadcom/bcmsysport.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 4 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c | 4 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 8 ++++---- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 4 ++-- 10 files changed, 16 insertions(+), 16 deletions(-)
drivers/net/ethernet/broadcom/bcm63xx_enet.c +1 -1
@@ -1564,7 +1564,7 @@ static int bcm_enet_set_pauseparam(struct net_device *dev,if (priv->has_phy) {if (ecmd->autoneg && (ecmd->rx_pause != ecmd->tx_pause)) { -/* asymetric pause mode not supported, +/* asymmetric pause mode not supported, * actually possible but integrated PHY has RO * asym_pause bit */ return -EINVAL ;
drivers/net/ethernet/broadcom/bcm63xx_enet.h +1 -1
@@ -265,7 +265,7 @@ struct bcm_enet_priv {/* number of available descriptor for tx */ int tx_desc_count; -/* next tx descriptor avaiable */ +/* next tx descriptor available */ int tx_curr_desc;/* next dirty tx descriptor to reclaim */
drivers/net/ethernet/broadcom/bcmsysport.h +1 -1
@@ -402,7 +402,7 @@ struct bcm_rsb {#define TDMA_DESC_RING_BASE (i) (TDMA_DESC_RING_00_BASE + \ ((i) * TDMA_DESC_RING_SIZE)) -/* Ring indexed register addreses */ +/* Ring indexed register addresses */ #define TDMA_DESC_RING_HEAD_TAIL_PTR (i) (TDMA_DESC_RING_BASE(i) + \ RING_HEAD_TAIL_PTR)#define TDMA_DESC_RING_COUNT (i) (TDMA_DESC_RING_BASE(i) + \
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +2 -2
@@ -280,7 +280,7 @@ enum {* (db_msg_sz 1 << 7 * cid + 0x40 DPM offset) it can come up with a valid number * We must avoid coming up with cid 8 for iscsi since according to this method * the designated UIO cid will come out 0 and it has a special handling for that -* case which doesn't suit us. Therefore will will cieling to closes cid which +* case which doesn't suit us. Therefore will cieling to closes cid which * has least signigifcant nibble 8 and if it is 8 we will move forward to 0x18. */
@@ -666,7 +666,7 @@ struct bnx2x_fastpath { MAX_TX_DESC_CNT * NEXT_PAGE_TX_DESC_CNT)/* max BDs per tx packet w/o next_pages: * START_BD - describes packed -* START_BD(splitted) - includes unpaged data segment for GSO +* START_BD(split) - includes unpaged data segment for GSO * PARSING_BD - for TSO and CSUM data * PARSING_BD2 - for encapsulation data * Frag BDs - describes pages for frags
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c +2 -2
@@ -1986,7 +1986,7 @@ static void bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio,return ;/** -* bw_pct ignored - band-width percentage devision between user +* bw_pct ignored - band-width percentage division between user * priorities within the same group is not * standard and hence not supported *
@@ -2038,7 +2038,7 @@ static void bnx2x_dcbnl_get_pg_tccfg_tx(struct net_device *netdev, int prio,DP (BNX2X_MSG_DCB ,"prio = %d\n" , prio);/** -* bw_pct ignored - band-width percentage devision between user +* bw_pct ignored - band-width percentage division between user * priorities within the same group is not * standard and hence not supported *
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h +1 -1
@@ -2342,7 +2342,7 @@ struct shmem2_region {u32 oem_i2c_data_addr; }; -/* 9 entires for the C2S PCP map for each inner VLAN PCP + 1 default */ +/* 9 entries for the C2S PCP map for each inner VLAN PCP + 1 default */ /* For PCP values 0-3 use the map lower */ /* 0xFF000000 - PCP 0, 0x00FF0000 - PCP 1, * 0x0000FF00 - PCP 2, 0x000000FF PCP 3
drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h +1 -1
@@ -582,7 +582,7 @@ static void bnx2x_init_pxp_arb(struct bnx2x *bp, int r_order,REG_WR (bp,PXP2_REG_WR_CDU_MPS , val); } -/* Validate number of tags suppoted by device */ +/* Validate number of tags supported by device */ #define PCIE_REG_PCIER_TL_HDR_FC_ST 0x2980 val =REG_RD (bp,PCIE_REG_PCIER_TL_HDR_FC_ST ); val &=0xFF ;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +4 -4
@@ -2536,7 +2536,7 @@ static int bnx2x_pbf_update(struct link_params *params, u32 flow_ctrl, }/** -* bnx2x_get_emac_base - retrive emac base address +* bnx2x_get_emac_base - retrieve emac base address * * @bp: driver handle * @mdc_mdio_access: access type
@@ -3593,7 +3593,7 @@ static u8 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy,u8 ret =0 ; vars->flow_ctrl =BNX2X_FLOW_CTRL_NONE ;if (phy->req_flow_ctrl !=BNX2X_FLOW_CTRL_AUTO ) { -/* Update the advertised flow-controled of LD/LP in AN */ +/* Update the advertised flow-controlled of LD/LP in AN */ if (phy->req_line_speed ==SPEED_AUTO_NEG )bnx2x_ext_phy_update_adv_fc (phy, params, vars);/* But set the flow-control result as the requested one */
@@ -3743,7 +3743,7 @@ static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, {MDIO_WC_DEVAD, MDIO_WC_REG_CL72_USERB0_CL72_TX_FIR_TAP, 0}, };DP (NETIF_MSG_LINK ,"Enable Auto Negotiation for KR\n" ); -/* Set to default registers that may be overriden by 10G force */ +/* Set to default registers that may be overridden by 10G force */ for (i =0 ; i <ARRAY_SIZE (reg_set); i++)bnx2x_cl45_write (bp, phy, reg_set[i].devad, reg_set[i].reg, reg_set[i].val);
@@ -5425,7 +5425,7 @@ static void bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy,/* Resolve from gp_status in case of AN complete and not sgmii */ if (phy->req_flow_ctrl !=BNX2X_FLOW_CTRL_AUTO ) { -/* Update the advertised flow-controled of LD/LP in AN */ +/* Update the advertised flow-controlled of LD/LP in AN */ if (phy->req_line_speed ==SPEED_AUTO_NEG )bnx2x_update_adv_fc (phy, params, vars, gp_status);/* But set the flow-control result as the requested one */
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +1 -1
@@ -12669,7 +12669,7 @@ static int bnx2x_set_mc_list(struct bnx2x *bp)if (rc)return rc; -/* Override the curently configured set of mc filters */ +/* Override the currently configured set of mc filters */ rc =bnx2x_config_mcast (bp, &rparam,BNX2X_MCAST_CMD_SET );if (rc <0 )
drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h +2 -2
@@ -2236,7 +2236,7 @@ extern const u32 dmae_reg_go_c[];/* [RW 1] Output enable for TX PAUSE signal to the MAC. */ #define NIG_REG_P0_MAC_PAUSE_OUT_EN 0x185b4/* [RW 32] Eight 4-bit configurations for specifying which COS (0-15 for -* future expansion) each priorty is to be mapped to. Bits 3:0 specify the +* future expansion) each priority is to be mapped to. Bits 3:0 specify the * COS for priority 0. Bits 31:28 specify the COS for priority 7. The 3-bit * priority field is extracted from the outer-most VLAN in receive packet. * Only COS 0 and COS 1 are supported in E2. */
@@ -2434,7 +2434,7 @@ extern const u32 dmae_reg_go_c[];/* [RW 1] Output enable for TX PAUSE signal to the MAC. */ #define NIG_REG_P1_MAC_PAUSE_OUT_EN 0x185c8/* [RW 32] Eight 4-bit configurations for specifying which COS (0-15 for -* future expansion) each priorty is to be mapped to. Bits 3:0 specify the +* future expansion) each priority is to be mapped to. Bits 3:0 specify the * COS for priority 0. Bits 31:28 specify the COS for priority 7. The 3-bit * priority field is extracted from the outer-most VLAN in receive packet. * Only COS 0 and COS 1 are supported in E2. */
Signature · 1 line
2.48.1
PATCH v3 4/10 net: cavium: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/cavium/liquidio/cn66xx_device.c | 2 +- drivers/net/ethernet/cavium/liquidio/lio_core.c | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_config.h | 4 ++-- drivers/net/ethernet/cavium/liquidio/octeon_iq.h | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_main.h | 2 +- drivers/net/ethernet/cavium/liquidio/octeon_nic.h | 2 +- drivers/net/ethernet/cavium/liquidio/request_manager.c | 2 +- drivers/net/ethernet/cavium/thunder/nic.h | 2 +- drivers/net/ethernet/cavium/thunder/nic_main.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
drivers/net/ethernet/cavium/liquidio/cn66xx_device.c +1 -1
@@ -177,7 +177,7 @@ static void lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct)/* 66XX SPECIFIC */ if (CFG_GET_OQ_MAX_Q (cn6xxx->conf) <=4 ) -/* Disable RING_EN if only upto 4 rings are used. */ +/* Disable RING_EN if only up to 4 rings are used. */ pktctl &= ~(1 <<4 );else pktctl |= (1 <<4 );
drivers/net/ethernet/cavium/liquidio/lio_core.c +1 -1
@@ -565,7 +565,7 @@ static int octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs, }/** -* liquidio_push_packet - Routine to push packets arriving on Octeon interface upto network layer. +* liquidio_push_packet - Routine to push packets arriving on Octeon interface up to network layer. * @octeon_id:octeon device id. * @skbuff: skbuff struct to be passed to network layer. * @len: size of total data received.
drivers/net/ethernet/cavium/liquidio/octeon_config.h +2 -2
@@ -254,7 +254,7 @@ struct octeon_oq_config { u64 pkts_per_intr:16;/** Interrupt Coalescing (Time Interval). Octeon will interrupt the -* host if atleast one packet was sent in the time interval specified +* host if at least one packet was sent in the time interval specified * by this field. The driver uses time interval interrupt coalescing * by default. The time is specified in microseconds. */
@@ -296,7 +296,7 @@ struct octeon_oq_config { u64 oq_intr_pkt:16;/** Interrupt Coalescing (Time Interval). Octeon will interrupt the -* host if atleast one packet was sent in the time interval specified +* host if at least one packet was sent in the time interval specified * by this field. The driver uses time interval interrupt coalescing * by default. The time is specified in microseconds. */
drivers/net/ethernet/cavium/liquidio/octeon_iq.h +1 -1
@@ -70,7 +70,7 @@ struct oct_iq_stats {/** The instruction (input) queue. * The input queue is used to post raw (instruction) mode data or packet -* data to Octeon device from the host. Each input queue (upto 4) for +* data to Octeon device from the host. Each input queue (up to 4) for * a Octeon device has one such structure to represent it. */ struct octeon_instr_queue {
drivers/net/ethernet/cavium/liquidio/octeon_main.h +1 -1
@@ -166,7 +166,7 @@ static inline int octeon_map_pci_barx(struct octeon_device *oct,* errno -EINTR: user abort the command. * errno -ETIME: user spefified timeout value has been expired. * errno -EBUSY: the response of the request does not return in -* resonable time (LIO_SC_MAX_TMO_MS). +* reasonable time (LIO_SC_MAX_TMO_MS). * the sc wll be move to zombie response list by * lio_process_ordered_list() *
drivers/net/ethernet/cavium/liquidio/octeon_nic.h +1 -1
@@ -277,7 +277,7 @@ int octnet_send_nic_data_pkt(struct octeon_device *oct,/** Send a NIC control packet to the device * @param oct - octeon device pointer -* @param nctrl - control structure with command, timout, and callback info +* @param nctrl - control structure with command, timeout, and callback info * @returns IQ_FAILED if it failed to add to the input queue. IQ_STOP if the * queue should be stopped, and IQ_SEND_OK if it sent okay. */
drivers/net/ethernet/cavium/liquidio/request_manager.c +1 -1
@@ -40,7 +40,7 @@ static void __check_db_timeout(struct octeon_device *oct, u64 iq_no);static void (*reqtype_free_fn[MAX_OCTEON_DEVICES ][REQTYPE_LAST +1 ]) (void *); -/* Define this to return the request status comaptible to old code */ +/* Define this to return the request status compatible to old code */ /*#define OCTEON_USE_OLD_REQ_STATUS*/ /* Return 0 on success, 1 on failure */
drivers/net/ethernet/cavium/thunder/nic.h +1 -1
@@ -97,7 +97,7 @@* This value ensures that once a packet has been "accepted" * for reception it will not get dropped due to non-availability * of CQ descriptor. An errata in HW mandates this value to be -* atleast 0x100. +* at least 0x100. */ #define NICPF_CQM_MIN_DROP_LEVEL 0x100
drivers/net/ethernet/cavium/thunder/nic_main.c +1 -1
@@ -595,7 +595,7 @@ static void nic_config_rss(struct nicpf *nic, struct rss_cfg_msg *cfg)nic_reg_write (nic, idx_addr | (cpi_base <<3 ), cpi_cfg); } -/* 4 level transmit side scheduler configutation +/* 4 level transmit side scheduler configuration * for TNS bypass mode * * Sample configuration for SQ0 on 88xx
Signature · 1 line
2.48.1
PATCH v3 5/10 net: qlogic: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_mcp.h | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-)
drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c +1 -1
@@ -17,7 +17,7 @@ netxen_poll_rsp(struct netxen_adapter *adapter)int timeout =0 ; do { - /* give atleast 1ms for firmware to respond */ + /* give at least 1ms for firmware to respond */ msleep(1); if (++timeout > NX_OS_CRB_RETRY_COUNT)
drivers/net/ethernet/qlogic/qed/qed_cxt.c +1 -1
@@ -561,7 +561,7 @@ int qed_cxt_cfg_ilt_compute(struct qed_hwfn *p_hwfn, u32 *line_count)* block in the ILT client. This is later used to * configure the CDU segment offset registers and * results in an FL command for TIDs of this -* segement behaves as regular load commands +* segment behaves as regular load commands * (loading TIDs from the working memory). */ line = p_cli->pf_blks[CDUT_SEG_BLK (i)].start_line;
drivers/net/ethernet/qlogic/qed/qed_mcp.h +1 -1
@@ -783,7 +783,7 @@ struct qed_mcp_info {u16 mfw_mb_length;u32 mcp_hist; -/* Capabilties negotiated with the MFW */ +/* Capabilities negotiated with the MFW */ u32 capabilities;/* S/N for debug data mailbox commands */
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +1 -1
@@ -909,7 +909,7 @@ struct qlcnic_mac_vlan_list {#define QLCNIC_LRO_REQUEST_CLEANUP 4 -/* Capabilites received */ +/* Capabilities received */ #define QLCNIC_FW_CAPABILITY_TSO BIT_1#define QLCNIC_FW_CAPABILITY_BDG BIT_8#define QLCNIC_FW_CAPABILITY_FVLANTX BIT_9
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c +2 -2
@@ -1957,9 +1957,9 @@ static void qlcnic_83xx_template_end(struct qlcnic_adapter *p_dev)* qlcnic_83xx_exec_template_cmd * * @p_dev: adapter structure -* @p_buff: Poiter to instruction template +* @p_buff: Pointer to instruction template * -* Template provides instructions to stop, restart and initalize firmware. +* Template provides instructions to stop, restart and initialize firmware. * These instructions are abstracted as a series of read, write and * poll operations on hardware registers. Register information and operation * specifics are not exposed to the driver. Driver reads the template from
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c +1 -1
@@ -95,7 +95,7 @@ qlcnic_poll_rsp(struct qlcnic_adapter *adapter)int timeout =0 , err =0 ; do { - /* give atleast 1ms for firmware to respond */ + /* give at least 1ms for firmware to respond */ mdelay(1); if (++timeout > QLCNIC_OS_CRB_RETRY_COUNT)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +2 -2
@@ -640,7 +640,7 @@ static int qlcnic_max_rings(struct qlcnic_adapter *adapter, u8 ring_cnt,void qlcnic_set_tx_ring_count (struct qlcnic_adapter *adapter,u8 tx_cnt) { -/* 83xx adapter does not have max_tx_rings intialized in probe */ +/* 83xx adapter does not have max_tx_rings initialized in probe */ if (adapter->max_tx_rings) adapter->drv_tx_rings =qlcnic_max_rings (adapter, tx_cnt,QLCNIC_TX_QUEUE );
@@ -650,7 +650,7 @@ void qlcnic_set_tx_ring_count(struct qlcnic_adapter *adapter, u8 tx_cnt)void qlcnic_set_sds_ring_count (struct qlcnic_adapter *adapter,u8 rx_cnt) { -/* 83xx adapter does not have max_sds_rings intialized in probe */ +/* 83xx adapter does not have max_sds_rings initialized in probe */ if (adapter->max_sds_rings) adapter->drv_sds_rings =qlcnic_max_rings (adapter, rx_cnt,QLCNIC_RX_QUEUE );
Signature · 1 line
2.48.1
PATCH v3 6/10 net: fddi: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/fddi/skfp/cfm.c | 2 +- drivers/net/fddi/skfp/ecm.c | 2 +- drivers/net/fddi/skfp/fplustm.c | 4 ++-- drivers/net/fddi/skfp/h/hwmtm.h | 2 +- drivers/net/fddi/skfp/h/sba.h | 2 +- drivers/net/fddi/skfp/pcmplc.c | 2 +- drivers/net/fddi/skfp/rmt.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)
drivers/net/fddi/skfp/cfm.c +1 -1
@@ -17,7 +17,7 @@*/ /* -* Hardware independent state machine implemantation +* Hardware independent state machine implementation * The following external SMT functions are referenced : * * queue_event()
drivers/net/fddi/skfp/ecm.c +1 -1
@@ -17,7 +17,7 @@*/ /* -* Hardware independent state machine implemantation +* Hardware independent state machine implementation * The following external SMT functions are referenced : * * queue_event()
drivers/net/fddi/skfp/fplustm.c +2 -2
@@ -150,7 +150,7 @@ static u_long read_mdr(struct s_smc *smc, unsigned int addr)CHECK_NPP () ;MARR (addr) ;outpw (FM_A (FM_CMDREG1 ),FM_IRMEMWO ) ; -CHECK_NPP () ;/* needed for PCI to prevent from timeing violations */ +CHECK_NPP () ;/* needed for PCI to prevent from timing violations */ /* p = MDRR() ; */ /* bad read values if the workaround */ /* smc->hw.mc_dummy = *((short volatile far *)(addr)))*/ /* is used */
@@ -572,7 +572,7 @@ Note After any ring operational change the transmit complete The operating system dependent module must enable the transmit complete interrupt of a queue, - when it queues the first frame, - because of no transmit resources are beeing + because of no transmit resources are being available and - when it escapes from the function llc_restart_tx while some frames are still queued.
drivers/net/fddi/skfp/h/hwmtm.h +1 -1
@@ -113,7 +113,7 @@ struct hw_modul {struct s_mbuf_pool mbuf_pool ;struct hwm_r r ; -union s_fp_descr volatile *descr_p ;/* points to the desriptor area */ +union s_fp_descr volatile *descr_p ;/* points to the descriptor area */ u_short pass_SMT ;/* pass SMT frames */ u_short pass_NSA ;/* pass all NSA frames */
drivers/net/fddi/skfp/h/sba.h +1 -1
@@ -94,7 +94,7 @@ struct s_sba {long msg_mib_ov ;/* Current Overhead for this Path*/ long msg_category ;/* Category of the Allocation */ u_long msg_max_t_neg ;/* longest T_Neg acceptable */ -u_long msg_min_seg_siz ;/* minimum segement size */ +u_long msg_min_seg_siz ;/* minimum segment size */ struct smt_header *sm ;/* points to the rec message */ struct fddi_addr *msg_alloc_addr ;/* Allocation Address */
drivers/net/fddi/skfp/pcmplc.c +1 -1
@@ -16,7 +16,7 @@*/ /* -* Hardware independent state machine implemantation +* Hardware independent state machine implementation * The following external SMT functions are referenced : * * queue_event()
drivers/net/fddi/skfp/rmt.c +1 -1
@@ -16,7 +16,7 @@*/ /* -* Hardware independent state machine implemantation +* Hardware independent state machine implementation * The following external SMT functions are referenced : * * queue_event()
Signature · 1 line
2.48.1
PATCH v3 7/10 net: marvell: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 2 +- drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c | 8 ++++---- drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++-- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 2 +- drivers/net/ethernet/marvell/pxa168_eth.c | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-)
drivers/net/ethernet/marvell/mvpp2/mvpp2.h +1 -1
@@ -729,7 +729,7 @@#define MVPP2_MAX_TXQ 8/* MVPP2_MAX_TSO_SEGS is the maximum number of fragments to allow in the GSO -* skb. As we need a maxium of two descriptors per fragments (1 header, 1 data), +* skb. As we need a maximum of two descriptors per fragments (1 header, 1 data), * multiply this value by two to count the maximum number of skb descs needed. */ #define MVPP2_MAX_TSO_SEGS 300
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c +4 -4
@@ -382,7 +382,7 @@ static int mvpp2_prs_flow_find(struct mvpp2 *priv, int flow)struct mvpp2_prs_entry pe;int tid; -/* Go through the all entires with MVPP2_PRS_LU_FLOWS */ +/* Go through the all entries with MVPP2_PRS_LU_FLOWS */ for (tid =MVPP2_PRS_TCAM_SRAM_SIZE -1 ; tid >=0 ; tid--) {u8 bits;
@@ -1212,7 +1212,7 @@ static void mvpp2_prs_mh_init(struct mvpp2 *priv)mvpp2_prs_hw_write (priv, &pe); } -/* Set default entires (place holder) for promiscuous, non-promiscuous and +/* Set default entries (place holder) for promiscuous, non-promiscuous and * multicast MAC addresses */ static void mvpp2_prs_mac_init (struct mvpp2 *priv)
@@ -2241,7 +2241,7 @@ mvpp2_prs_mac_da_range_find(struct mvpp2 *priv, int pmap, const u8 *da,struct mvpp2_prs_entry pe;int tid; -/* Go through the all entires with MVPP2_PRS_LU_MAC */ +/* Go through the all entries with MVPP2_PRS_LU_MAC */ for (tid =MVPP2_PE_MAC_RANGE_START ; tid <=MVPP2_PE_MAC_RANGE_END ; tid++) {unsigned int entry_pmap;
@@ -2539,7 +2539,7 @@ int mvpp2_prs_def_flow(struct mvpp2_port *port)/* Such entry not exist */ if (tid <0 ) { -/* Go through the all entires from last to first */ +/* Go through the all entries from last to first */ tid =mvpp2_prs_tcam_first_free (port->priv,MVPP2_PE_LAST_FREE_TID ,MVPP2_PE_FIRST_FREE_TID );
drivers/net/ethernet/marvell/octeontx2/af/npc.h +2 -2
@@ -84,7 +84,7 @@ enum npc_kpu_lc_ltype { NPC_LT_LC_CUSTOM1 = 0xF, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_ld_ltype {
@@ -140,7 +140,7 @@ enum npc_kpu_lg_ltype { NPC_LT_LG_CUSTOM1 = 0xF, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_lh_ltype {
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +1 -1
@@ -4974,7 +4974,7 @@ static void rvu_nix_setup_capabilities(struct rvu *rvu, int blkaddr)/* On OcteonTx2 DWRR quantum is directly configured into each of * the transmit scheduler queues. And PF/VF drivers were free to -* config any value upto 2^24. +* config any value up to 2^24. * On CN10K, HW is modified, the quantum configuration at scheduler * queues is in terms of weight. And SW needs to setup a base DWRR MTU * at NIX_AF_DWRR_RPM_MTU / NIX_AF_DWRR_SDP_MTU. HW will do
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c +1 -1
@@ -301,7 +301,7 @@ static void cn10k_get_ingress_rate_cfg(u64 rate, u32 *rate_exp,* policer timeunit * 2^rdiv ie 2 * 2^rdiv usecs, to the token bucket. * Here policer timeunit is 2 usecs and rate is in bits per sec. * Since floating point cannot be used below algorithm uses 1000000 -* scale factor to support rates upto 100Gbps. +* scale factor to support rates up to 100Gbps. */ tmp = rate *32 *2 ;if (tmp <256000000 ) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c +1 -1
@@ -67,7 +67,7 @@ static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio)if (!req)return -ENOMEM ; -/* Request one schq per level upto max level as configured +/* Request one schq per level up to max level as configured * link config level. These rest of the scheduler can be * same as hw.txschq_list. */
drivers/net/ethernet/marvell/pxa168_eth.c +2 -2
@@ -514,7 +514,7 @@ static int add_del_hash_entry(struct pxa168_eth_private *pep,/* * ---------------------------------------------------------------------------- * Create an addressTable entry from MAC address info -* found in the specifed net_device struct +* found in the specified net_device struct * * Input : pointer to ethernet interface network device structure * Output : N/A
@@ -806,7 +806,7 @@ static int rxq_process(struct net_device *dev, int budget) stats->rx_bytes += rx_desc->byte_cnt;/* * In case received a packet without first / last bits on OR -* the error summary bit is on, the packets needs to be droped. +* the error summary bit is on, the packets needs to be dropped. */ if (((cmd_sts & (RX_FIRST_DESC |RX_LAST_DESC )) != (RX_FIRST_DESC | RX_LAST_DESC))
Signature · 1 line
2.48.1
PATCH v3 8/10 net: hisilicon: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 4 ++-- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c +1 -1
@@ -591,7 +591,7 @@ static int hns_mac_config_sds_loopback(struct hns_mac_cb *mac_cb, bool en)#define HILINK_ACCESS_SEL_CFG 0x40008/* hilink4 & hilink3 use the same xge training and * xge u adaptor. There is a hilink access sel cfg -* register to select which one to be configed +* register to select which one to be configured */ if ((!HNS_DSAF_IS_DEBUG (mac_cb->dsaf_dev)) && (mac_cb->mac_id <=3 ))
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c +1 -1
@@ -139,7 +139,7 @@ static void hns_ppe_set_vlan_strip(struct hns_ppe_cb *ppe_cb, int en) }/** -* hns_ppe_checksum_hw - set ppe checksum caculate +* hns_ppe_checksum_hw - set ppe checksum calculate * @ppe_cb: ppe device * @value: value */
drivers/net/ethernet/hisilicon/hns/hns_enet.c +2 -2
@@ -1230,7 +1230,7 @@ static void hns_nic_update_stats(struct net_device *netdev) h->dev->ops->update_stats (h, &netdev->stats); } -/* set mac addr if it is configed. or leave it to the AE driver */ +/* set mac addr if it is configured. or leave it to the AE driver */ static void hns_init_mac_addr (struct net_device *ndev) {struct hns_nic_priv *priv =netdev_priv (ndev);
@@ -2317,7 +2317,7 @@ static int hns_nic_dev_probe(struct platform_device *pdev) ret =device_property_read_u32 (dev,"port-id" , &port_id);if (ret) goto out_read_prop_fail; -/* for old dts, we need to caculate the port offset */ +/* for old dts, we need to calculate the port offset */ port_id = port_id <HNS_SRV_OFFSET ? port_id +HNS_DEBUG_OFFSET : port_id -HNS_SRV_OFFSET ; }
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -1
@@ -10527,7 +10527,7 @@ static int hclge_get_link_diagnosis_info(struct hnae3_handle *handle, }/* After disable sriov, VF still has some config and info need clean, -* which configed by PF. +* which configured by PF. */ static void hclge_clear_vport_vf_info (struct hclge_vport *vport,int vfid) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +1 -1
@@ -35,7 +35,7 @@ enum hclge_shaper_level {* IR(Mbps) = ------------------------- * CLOCK(1000Mbps) * Tick * (2 ^ IR_s) * -* @return: 0: calculate sucessful, negative: fail +* @return: 0: calculate successful, negative: fail */ static int hclge_shaper_para_calc(u32 ir, u8 shaper_level, struct hclge_shaper_ir_para *ir_para,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +1 -1
@@ -1880,7 +1880,7 @@ static void hclgevf_reset_service_task(struct hclgevf_dev *hdev)* from PF as cmdq would be in unreliable state i.e. mailbox * communication between PF and VF would be broken. * -* if we are never geting into pending state it means either: +* if we are never getting into pending state it means either: * 1. PF is not receiving our request which could be due to IMP * reset * 2. PF is screwed
Signature · 1 line
2.48.1
PATCH v3 9/10 net: atheros: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/atheros/atl1c/atl1c_hw.h | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e.h | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_hw.c | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +- drivers/net/ethernet/atheros/atlx/atl1.c | 2 +- drivers/net/ethernet/atheros/atlx/atl2.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h +1 -1
@@ -659,7 +659,7 @@ void atl1c_post_phy_linkchg(struct atl1c_hw *hw, u16 link_speed);/* INT-triggle/SMB Control Register */ #define REG_SMB_STAT_TIMER 0x15C4/* 2us resolution */ #define SMB_STAT_TIMER_MASK 0xFFFFFF -#define REG_TINT_TPD_THRESH 0x15C8/* tpd th to trig intrrupt */ +#define REG_TINT_TPD_THRESH 0x15C8/* tpd th to trig interrupt */ /* Mail box */ #define MB_RFDX_PROD_IDX_MASK 0xFFFF
drivers/net/ethernet/atheros/atl1e/atl1e.h +1 -1
@@ -381,7 +381,7 @@ struct atl1e_rx_page {u8 *addr;/* receive rage virtual address */ dma_addr_t write_offset_dma;/* the DMA address which contain the receive data offset in the page */ -u32 *write_offset_addr;/* the virtaul address which contain +u32 *write_offset_addr;/* the virtual address which contain the receive data offset in the page */ u32 read_offset;/* the offset where we have read */ };
drivers/net/ethernet/atheros/atl1e/atl1e_hw.c +1 -1
@@ -369,7 +369,7 @@ static int atl1e_phy_setup_autoneg_adv(struct atl1e_hw *hw)* * hw - Struct containing variables accessed by shared code * -* Sets bit 15 and 12 of the MII control regiser (for F001 bug) +* Sets bit 15 and 12 of the MII control register (for F001 bug) */ int atl1e_phy_commit (struct atl1e_hw *hw) {
drivers/net/ethernet/atheros/atl1e/atl1e_main.c +1 -1
@@ -2117,7 +2117,7 @@ static int atl1e_suspend(struct pci_dev *pdev, pm_message_t state) wol_ctrl_data |=WOL_MAGIC_EN |WOL_MAGIC_PME_EN ;if (wufc &AT_WUFC_LNKC ) { -/* if orignal link status is link, just wait for retrive link */ +/* if original link status is link, just wait for retrieve link */ if (mii_bmsr_data &BMSR_LSTATUS ) {for (i =0 ; i <AT_SUSPEND_LINK_TIMEOUT ; i++) {msleep (100 );
drivers/net/ethernet/atheros/atlx/atl1.c +1 -1
@@ -628,7 +628,7 @@ static s32 atl1_phy_leave_power_saving(struct atl1_hw *hw)* Resets the PHY and make all config validate * hw - Struct containing variables accessed by shared code * -* Sets bit 15 and 12 of the MII Control regiser (for F001 bug) +* Sets bit 15 and 12 of the MII Control register (for F001 bug) */ static s32 atl1_phy_reset (struct atl1_hw *hw) {
drivers/net/ethernet/atheros/atlx/atl2.c +1 -1
@@ -2591,7 +2591,7 @@ static s32 atl2_phy_setup_autoneg_adv(struct atl2_hw *hw)* * hw - Struct containing variables accessed by shared code * -* Sets bit 15 and 12 of the MII Control regiser (for F001 bug) +* Sets bit 15 and 12 of the MII Control register (for F001 bug) */ static s32 atl2_phy_commit (struct atl2_hw *hw) {
Signature · 1 line
2.48.1
PATCH v3 10/10 net: dec: fix typos in comments
In reply to Hemanth SelamFix misspellings in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code changes.
--- drivers/net/ethernet/dec/tulip/de2104x.c | 2 +- drivers/net/ethernet/dec/tulip/interrupt.c | 4 ++-- drivers/net/ethernet/dec/tulip/media.c | 2 +- drivers/net/ethernet/dec/tulip/tulip.h | 4 ++-- drivers/net/ethernet/dec/tulip/winbond-840.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-)
drivers/net/ethernet/dec/tulip/de2104x.c +1 -1
@@ -373,7 +373,7 @@ static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, rx_tail, status, len);if ((status &0x38000300 ) !=0x0300 ) { -/* Ingore earlier buffers. */ +/* Ignore earlier buffers. */ if ((status &0xffff ) !=0x7fff ) { netif_warn(de, rx_err, de->dev, "Oversized Ethernet frame spanned multiple buffers, status %08x!\n",
drivers/net/ethernet/dec/tulip/interrupt.c +2 -2
@@ -177,7 +177,7 @@ int tulip_poll(struct napi_struct *napi, int budget) pkt_len > 1518) {if ((status & (RxLengthOver2047 | RxWholePkt)) != RxWholePkt) { -/* Ingore earlier buffers. */ +/* Ignore earlier buffers. */ if ((status &0xffff ) !=0x7fff ) {if (tulip_debug >1 ) dev_warn(&dev->dev,
@@ -408,7 +408,7 @@ static int tulip_rx(struct net_device *dev) pkt_len > 1518) {if ((status & (RxLengthOver2047 | RxWholePkt)) != RxWholePkt) { -/* Ingore earlier buffers. */ +/* Ignore earlier buffers. */ if ((status &0xffff ) !=0x7fff ) {if (tulip_debug >1 ) netdev_warn(dev,
drivers/net/ethernet/dec/tulip/media.c +1 -1
@@ -24,7 +24,7 @@/* Read and write the MII registers using software-generated serial MDIO protocol. It is just different enough from the EEPROM protocol -to not share code. The maxium data clock rate is 2.5 Mhz. */ +to not share code. The maximum data clock rate is 2.5 Mhz. */ #define MDIO_SHIFT_CLK 0x10000#define MDIO_DATA_WRITE0 0x00000#define MDIO_DATA_WRITE1 0x20000
drivers/net/ethernet/dec/tulip/tulip.h +2 -2
@@ -250,7 +250,7 @@ enum t21143_csr6_bits { csr6_ttm = (1 <<22 ),/* Transmit Threshold Mode, set for 10baseT, 0 for 100BaseTX */ csr6_sf = (1 <<21 ),/* Store and forward. If set ignores TR bits */ csr6_hbd = (1 <<19 ),/* Heart beat disable. Disables SQE function in 10baseT */ - csr6_ps = (1 <<18 ),/* Port Select. 0 (defualt) = 10baseT, 1 = 100baseTX: can't be set */ + csr6_ps = (1 <<18 ),/* Port Select. 0 (default) = 10baseT, 1 = 100baseTX: can't be set */ csr6_ca = (1 <<17 ),/* Collision Offset Enable. If set uses special algorithm in low collision situations */ csr6_trh = (1 <<15 ),/* Transmit Threshold high bit */ csr6_trl = (1<<14), /* Transmit Threshold low bit */
@@ -274,7 +274,7 @@ enum t21143_csr6_bits { csr6_om_int_loop = (1 <<10 ),/* internal (FIFO) loopback flag */ csr6_om_ext_loop = (1 <<11 ),/* external (PMD) loopback flag */ /* set both and you get (PHY) loopback */ - csr6_fd = (1 <<9 ),/* Full duplex mode, disables hearbeat, no loopback */ + csr6_fd = (1 <<9 ),/* Full duplex mode, disables heartbeat, no loopback */ csr6_pm = (1 <<7 ),/* Pass All Multicast */ csr6_pr = (1 <<6 ),/* Promiscuous mode */ csr6_sb = (1<<5), /* Start(1)/Stop(0) backoff counter */
drivers/net/ethernet/dec/tulip/winbond-840.c +1 -1
@@ -1188,7 +1188,7 @@ static int netdev_rx(struct net_device *dev)break ;if ((status &0x38008300 ) !=0x0300 ) {if ((status &0x38000300 ) !=0x0300 ) { -/* Ingore earlier buffers. */ +/* Ignore earlier buffers. */ if ((status &0xffff ) !=0x7fff ) { dev_warn(&dev->dev, "Oversized Ethernet frame spanned multiple buffers, entry %#x status %04x!\n",
Signature · 1 line
2.48.1
Re: [PATCH net-next v3 07/10] net: marvell: fix typos in comments
In reply to Hemanth SelamQuoted 4 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.
For below files
Quoted 4 lines
drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++-- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 2 +-
Andrew Lunn
Reviewed-byRe: [PATCH net-next v3 07/10] net: marvell: fix typos in comments
Quoted 6 lines · Ratheesh Kannoth
Quoted 4 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.
Quoted 8 lines
For below files
Quoted 4 lines
drivers/net/ethernet/marvell/octeontx2/af/npc.h | 4 ++-- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 2 +- drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 2 +-Reviewed-by Ratheesh Kannoth <[email protected]>
For the rest of them:
Andrew
Re: [PATCH net-next v3 03/10] net: broadcom: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
...
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h enum { · line 283
Quoted 10 lines
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +1
-1@@ -280,7 +280,7 @@ enum {* (db_msg_sz 1 << 7 * cid + 0x40 DPM offset) it can come up with a valid number * We must avoid coming up with cid 8 for iscsi since according to this method * the designated UIO cid will come out 0 and it has a special handling for that -* case which doesn't suit us. Therefore will will cieling to closes cid which +* case which doesn't suit us. Therefore will cieling to closes cid which
I'm struggling a little with cieling being used as a verb. But that aside, I think the correct spelling is ceiling.
And perhaps closes should be closest?
Maybe we can fix these while we are here?
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h enum { · line 286
Quoted 3 lines
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +0
-0* has least signigifcant nibble 8 and if it is 8 we will move forward to 0x18. */
...
I don't mind if you don't want to re-spin the entire series just because of this. Either way:
Re: [PATCH net-next v3 04/10] net: cavium: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Re: [PATCH net-next v3 05/10] net: qlogic: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Re: [PATCH net-next v3 06/10] net: fddi: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Re: [PATCH net-next v3 08/10] net: hisilicon: fix typos in comments
In reply to Hemanth SelamQuoted 7 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Reviewed-by Jijie Shao <[email protected]>Signed-off-by Hemanth Selam <[email protected]>
Re: [PATCH net-next v3 09/10] net: atheros: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Re: [PATCH net-next v3 10/10] net: dec: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix misspellings in comments, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 33 lines · On Tue, 8 Sep 2026 10:55:52 +0530 you wrote:
Fix misspellings and repeated words in comments across the networking code, found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code changes.Changes since v2:
- v2 put 184 changes in a single patch. Andrew Lunn asked for it to be split by vendor, which comes to 54 patches, so this is the first batch.maintainer-netdev.rstasks for no more than 15 patches outstanding against a tree at a time and I have five in flight already, so this batch is 10. The rest will follow as these are applied.
- patches 1 and 2 are unchanged from v2 and carry Andrew's Reviewed-by. They are resent because the v2 series was marked superseded, so they would otherwise be dropped on the floor.
- dropped the sfcmcdi_pcol.hpatch (v2 4/6) even though Andrew had reviewed it. Edward Cree pointed out that header and the Siena copy are generated from the firmware definitions, so an edit here would be overwritten the next time they are regenerated; he has forwarded the typos to the firmware team instead. The sfc changes outside pcol are unaffected and will come in a later batch.
- dropped the 8390 patch, the driver is Orphan / Obsolete inMAINTAINERS.
- dropped one octeontx2 hunk, inotx2_pf.c, because the comment holding the typo has since been rewritten upstream. The remaining octeontx2 typos are still fixed in the marvell patch.
- dropped an "amount of times" to "number of times" change inqed_dev.c. That is a wording fix rather than a misspelling, so it does not belong in this series.
- v2 6/6 (net: usb, "Medium Mode mode") is not in this batch. Andrew asked me to check the data sheet for that one, and I will answer on that thread before resending it.
- rebased onto net-next.
Quoted 1 line
[...]
Here is the summary with links:
- [net-next,v3,01/10] net: llc: fix repeated word 'all' in comment
https://git.kernel.org/netdev/net-next/c/2d2c2ea6650e - [net-next,v3,02/10] selftests: net: fix repeated word 'use' in comment https://git.kernel.org/netdev/net-next/c/a2c9decb21b2 - [net-next,v3,03/10] net: broadcom: fix typos in comments https://git.kernel.org/netdev/net-next/c/a08b0a9e5e5f - [net-next,v3,04/10] net: cavium: fix typos in comments https://git.kernel.org/netdev/net-next/c/405829119fdc - [net-next,v3,05/10] net: qlogic: fix typos in comments https://git.kernel.org/netdev/net-next/c/12ae2a2b298a - [net-next,v3,06/10] net: fddi: fix typos in comments https://git.kernel.org/netdev/net-next/c/ef7ed063b48f - [net-next,v3,07/10] net: marvell: fix typos in comments https://git.kernel.org/netdev/net-next/c/36ca708b7cc7 - [net-next,v3,08/10] net: hisilicon: fix typos in comments https://git.kernel.org/netdev/net-next/c/1b4109e4a024 - [net-next,v3,09/10] net: atheros: fix typos in comments https://git.kernel.org/netdev/net-next/c/eeea715379b2 - [net-next,v3,10/10] net: dec: fix typos in comments https://git.kernel.org/netdev/net-next/c/f36cb539fd97
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html