]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: Fix typos
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Jul 2025 20:15:05 +0000 (15:15 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 17:29:07 +0000 (10:29 -0700)
Fix typos in comments and error messages.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: David Arinzon <darinzon@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250723201528.2908218-1-helgaas@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
58 files changed:
drivers/net/ethernet/amazon/ena/ena_admin_defs.h
drivers/net/ethernet/broadcom/b44.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_fw_defs.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/cavium/liquidio/octeon_main.h
drivers/net/ethernet/cavium/liquidio/octeon_nic.h
drivers/net/ethernet/chelsio/cxgb/pm3393.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
drivers/net/ethernet/dec/tulip/tulip_core.c
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
drivers/net/ethernet/intel/i40e/i40e_ptp.c
drivers/net/ethernet/intel/ice/devlink/port.h
drivers/net/ethernet/intel/ice/ice_base.c
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
drivers/net/ethernet/intel/igc/igc_mac.c
drivers/net/ethernet/intel/ixgbevf/vf.c
drivers/net/ethernet/marvell/mvneta_bm.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/pxa168_eth.c
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
drivers/net/ethernet/micrel/ks8842.c
drivers/net/ethernet/neterion/s2io.c
drivers/net/ethernet/pensando/ionic/ionic_if.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_ptp.c
drivers/net/ethernet/qlogic/qla3xxx.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
drivers/net/ethernet/sfc/mcdi_pcol.h
drivers/net/ethernet/sfc/siena/farch.c
drivers/net/ethernet/sfc/siena/mcdi_pcol.h
drivers/net/ethernet/sfc/tc_encap_actions.c
drivers/net/ethernet/smsc/smsc911x.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/ethernet/sun/niu.c
drivers/net/ethernet/sun/niu.h
drivers/net/ethernet/sun/sunhme.c
drivers/net/ethernet/sun/sunqe.h
drivers/net/ethernet/tehuti/tehuti.c

index 562869a0fdbafc44fd93012fe0dd87d0b2f4c5ed..898ecd96b96a26b0212d6531711a164598089b76 100644 (file)
@@ -986,7 +986,7 @@ struct ena_admin_feature_rss_ind_table {
        struct ena_admin_rss_ind_table_entry inline_entry;
 };
 
-/* When hint value is 0, driver should use it's own predefined value */
+/* When hint value is 0, driver should use its own predefined value */
 struct ena_admin_ena_hw_hints {
        /* value in ms */
        u16 mmio_read_timeout;
index 8267417b3750a39f563f97ed79199a8adcc0a959..0353359c3fe96c3cd8cfd0095b9680190a237d85 100644 (file)
@@ -2570,7 +2570,7 @@ static int __init b44_init(void)
        unsigned int dma_desc_align_size = dma_get_cache_alignment();
        int err;
 
-       /* Setup paramaters for syncing RX/TX DMA descriptors */
+       /* Setup parameters for syncing RX/TX DMA descriptors */
        dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc));
 
        err = b44_pci_init();
index 17ae6df907232ce0fa1a579edc77cd3be8871f77..9af81630c8a4453c2d538ae6a64fde822cceb31e 100644 (file)
@@ -344,7 +344,7 @@ static void  bnx2x_dcbx_get_pfc_feature(struct bnx2x *bp,
        }
 }
 
-/* maps unmapped priorities to to the same COS as L2 */
+/* maps unmapped priorities to the same COS as L2 */
 static void bnx2x_dcbx_map_nw(struct bnx2x *bp)
 {
        int i;
index 528ce9ca4f54ad42702dfd62d154bb032a1ff27b..fc8dec37a9e48ab8900297e2f7d7eae7da815f78 100644 (file)
@@ -1243,9 +1243,9 @@ static int bnx2x_get_eeprom_len(struct net_device *dev)
  * pf B succeeds in taking the same lock since they are from the same port.
  * pf A takes the per pf misc lock. Performs eeprom access.
  * pf A finishes. Unlocks the per pf misc lock.
- * Pf B takes the lock and proceeds to perform it's own access.
+ * Pf B takes the lock and proceeds to perform its own access.
  * pf A unlocks the per port lock, while pf B is still working (!).
- * mcp takes the per port lock and corrupts pf B's access (and/or has it's own
+ * mcp takes the per port lock and corrupts pf B's access (and/or has its own
  * access corrupted by pf B)
  */
 static int bnx2x_acquire_nvram_lock(struct bnx2x *bp)
index a84d015da5dfa6005ce846349915038d5dcd8826..9221942290a854f7be5aa0bc2e84d3a1f43b01d5 100644 (file)
 #define TOE_STATE (TOE_CONNECTION_TYPE << PROTOCOL_STATE_BIT_OFFSET)
 #define RDMA_STATE (RDMA_CONNECTION_TYPE << PROTOCOL_STATE_BIT_OFFSET)
 
-/* microcode fixed page page size 4K (chains and ring segments) */
+/* microcode fixed page size 4K (chains and ring segments) */
 #define MC_PAGE_SIZE 4096
 
 /* Number of indices per slow-path SB */
index 3ee4b848ef53287f76ea5938a4dc933cfbfa43bd..9d9f9a987bc0541c3daea3ac31d78eafe532172b 100644 (file)
@@ -1768,7 +1768,7 @@ static bool bnx2x_trylock_hw_lock(struct bnx2x *bp, u32 resource)
  * @bp:        driver handle
  *
  * Returns the recovery leader resource id according to the engine this function
- * belongs to. Currently only only 2 engines is supported.
+ * belongs to. Currently only 2 engines is supported.
  */
 static int bnx2x_get_leader_lock_resource(struct bnx2x *bp)
 {
index bacc8552bce1c98f7e9b9733e8cd1445948cecd4..00ca861c80dd3cbc8b8ea8011859b43c1ceffed7 100644 (file)
@@ -379,7 +379,7 @@ struct bnx2x_vlan_mac_obj {
        /**
        *  Delete all configured elements having the given
        *  vlan_mac_flags specification. Assumes no pending for
-       *  execution commands. Will schedule all all currently
+       *  execution commands. Will schedule all currently
        *  configured MACs/VLANs/VLAN-MACs matching the vlan_mac_flags
        *  specification for deletion and will use the given
        *  ramrod_flags for the last DEL operation.
index de8080df69a8fca8b9ac39ee381546381a69947e..5578ddcb465d9edc3d02376a08c4cb4c09221d66 100644 (file)
@@ -16974,7 +16974,7 @@ static pci_ers_result_t bnxt_io_error_detected(struct pci_dev *pdev,
        bnxt_free_ctx_mem(bp, false);
        netdev_unlock(netdev);
 
-       /* Request a slot slot reset. */
+       /* Request a slot reset. */
        return PCI_ERS_RESULT_NEED_RESET;
 }
 
index ec14b51ba38e7881ab7462c1f39d83f56614fdbc..480e18a32caa3ecac825408f9e4594a71cbed72b 100644 (file)
@@ -1125,7 +1125,7 @@ static int bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf)
                /* There are two cases:
                 * 1.If firmware spec < 0x10202,VF MAC address is not forwarded
                 *   to the PF and so it doesn't have to match
-                * 2.Allow VF to modify it's own MAC when PF has not assigned a
+                * 2.Allow VF to modify its own MAC when PF has not assigned a
                 *   valid MAC address and firmware spec >= 0x10202
                 */
                mac_ok = true;
index c00b05b2e945d5e85b0d39c5d0ae1ec8a7fa630d..b4dc93a487184c216c43e8f7c569127e168620d1 100644 (file)
@@ -16610,7 +16610,7 @@ static int tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent)
 
                        tg3_flag_set(tp, PCIX_TARGET_HWBUG);
 
-                       /* The chip can have it's power management PCI config
+                       /* The chip can have its power management PCI config
                         * space registers clobbered due to this bug.
                         * So explicitly force the chip into D0 here.
                         */
index 5b4cb725f60f2dcbc07fca5789444a233d2d169d..953edf0c7096c37b0375da62faec8535cf59c816 100644 (file)
@@ -157,7 +157,7 @@ err_release_region:
            response of the request.
  *          0: the request will wait until its response gets back
  *            from the firmware within LIO_SC_MAX_TMO_MS milli sec.
- *            It the response does not return within
+ *            If the response does not return within
  *            LIO_SC_MAX_TMO_MS milli sec, lio_process_ordered_list()
  *            will move the request to zombie response list.
  *
index 87dd6f89ce518117846627be5a0b513ccf382c30..c139fc423764ea3e54d6b57ae7a7214661404545 100644 (file)
@@ -268,7 +268,7 @@ octeon_alloc_soft_command_resp(struct octeon_device    *oct,
  * @param oct - octeon device pointer
  * @param ndata - control structure with queueing, and buffer information
  *
- * @returns IQ_FAILED if it failed to add to the input queue. IQ_STOP if it the
+ * @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.
  */
 int octnet_send_nic_data_pkt(struct octeon_device *oct,
@@ -278,7 +278,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
- * @returns IQ_FAILED if it failed to add to the input queue. IQ_STOP if it the
+ * @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.
  */
 int
index cbfa03d5663a5a96d69dbb0dda5bf3f0fd51d726..f3ada6e7cdc505f076c2ec33c7d33c4be42e7f2a 100644 (file)
@@ -141,7 +141,7 @@ static int pm3393_interrupt_enable(struct cmac *cmac)
        pmwrite(cmac, SUNI1x10GEXP_REG_GLOBAL_INTERRUPT_ENABLE,
                0 /*SUNI1x10GEXP_BITMSK_TOP_INTE */ );
 
-       /* TERMINATOR - PL_INTERUPTS_EXT */
+       /* TERMINATOR - PL_INTERRUPTS_EXT */
        pl_intr = readl(cmac->adapter->regs + A_PL_ENABLE);
        pl_intr |= F_PL_INTR_EXT;
        writel(pl_intr, cmac->adapter->regs + A_PL_ENABLE);
@@ -179,7 +179,7 @@ static int pm3393_interrupt_disable(struct cmac *cmac)
        elmer &= ~ELMER0_GP_BIT1;
        t1_tpi_write(cmac->adapter, A_ELMER0_INT_ENABLE, elmer);
 
-       /* TERMINATOR - PL_INTERUPTS_EXT */
+       /* TERMINATOR - PL_INTERRUPTS_EXT */
        /* DO NOT DISABLE TERMINATOR's EXTERNAL INTERRUPTS. ANOTHER CHIP
         * COULD WANT THEM ENABLED. We disable PM3393 at the ELMER level.
         */
@@ -222,7 +222,7 @@ static int pm3393_interrupt_clear(struct cmac *cmac)
        elmer |= ELMER0_GP_BIT1;
        t1_tpi_write(cmac->adapter, A_ELMER0_INT_CAUSE, elmer);
 
-       /* TERMINATOR - PL_INTERUPTS_EXT
+       /* TERMINATOR - PL_INTERRUPTS_EXT
         */
        pl_intr = readl(cmac->adapter->regs + A_PL_CAUSE);
        pl_intr |= F_PL_INTR_EXT;
@@ -756,7 +756,7 @@ static int pm3393_mac_reset(adapter_t * adapter)
 
                /* ??? If this fails, might be able to software reset the XAUI part
                 *     and try to recover... thus saving us from doing another HW reset */
-               /* Has the XAUI MABC PLL circuitry stablized? */
+               /* Has the XAUI MABC PLL circuitry stabilized? */
                is_xaui_mabc_pll_locked =
                    (val & SUNI1x10GEXP_BITMSK_TOP_SXRA_EXPIRED);
 
index 95e6f015a6af062c82f28ca15c62a87d80913ff2..0d85198fb03dfba036e55a0b89741e0c00a1b46b 100644 (file)
@@ -1316,7 +1316,7 @@ struct ch_sched_flowc {
  * (value, mask) tuples.  The associated ingress packet field matches the
  * tuple when ((field & mask) == value).  (Thus a wildcard "don't care" field
  * rule can be constructed by specifying a tuple of (0, 0).)  A filter rule
- * matches an ingress packet when all of the individual individual field
+ * matches an ingress packet when all of the individual field
  * matching rules are true.
  *
  * Partial field masks are always valid, however, while it may be easy to
index 51395c96b2e9948a6369e6abed87fab6d0a3bd8c..392723ef14e5124011115afa4a2c04d4610a2c41 100644 (file)
@@ -3297,7 +3297,7 @@ static int cxgb4_mgmt_set_vf_rate(struct net_device *dev, int vf,
        }
 
        if (max_tx_rate == 0) {
-               /* unbind VF to to any Traffic Class */
+               /* unbind VF to any Traffic Class */
                fw_pfvf =
                    (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) |
                     FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_PFVF_SCHEDCLASS_ETH));
@@ -4816,7 +4816,7 @@ static int adap_init0(struct adapter *adap, int vpd_skip)
                        goto bye;
                }
 
-               /* Get FW from from /lib/firmware/ */
+               /* Get FW from /lib/firmware/ */
                ret = request_firmware(&fw, fw_info->fw_mod_name,
                                       adap->pdev_dev);
                if (ret < 0) {
index a5d2f84dcdd5e89bb219352af7790d3984258de4..8524246fd67ed8c72a616a6e3c66ba29bca77b1d 100644 (file)
@@ -186,7 +186,7 @@ int cxgb4_config_knode(struct net_device *dev, struct tc_cls_u32_offload *cls)
        link_uhtid = TC_U32_USERHTID(cls->knode.link_handle);
 
        /* Ensure that uhtid is either root u32 (i.e. 0x800)
-        * or a valid linked bucket.
+        * or a valid linked bucket.
         */
        if (uhtid != 0x800 && uhtid >= t->size)
                return -EINVAL;
@@ -422,7 +422,7 @@ int cxgb4_delete_knode(struct net_device *dev, struct tc_cls_u32_offload *cls)
        uhtid = TC_U32_USERHTID(cls->knode.handle);
 
        /* Ensure that uhtid is either root u32 (i.e. 0x800)
-        * or a valid linked bucket.
+        * or a valid linked bucket.
         */
        if (uhtid != 0x800 && uhtid >= t->size)
                return -EINVAL;
index 64402e3646b3c440b4e4e57ba3f846dc0aebb1b7..9fccb8ea9bcd151d4c4ac4ccfbf179baf6e5c039 100644 (file)
@@ -163,7 +163,7 @@ static inline unsigned int fl_mtu_bufsize(struct adapter *adapter,
  * for DMA, but this is of course never sent to the hardware and is only used
  * to prevent double unmappings.  All of the above requires that the Free List
  * Buffers which we allocate have the bottom 5 bits free (0) -- i.e. are
- * 32-byte or or a power of 2 greater in alignment.  Since the SGE's minimal
+ * 32-byte or a power of 2 greater in alignment.  Since the SGE's minimal
  * Free List Buffer alignment is 32 bytes, this works out for us ...
  */
 enum {
index 175bf9b13058887392b71d0fe756a1308fa88513..171750fad44f2eedfc294df0459c06f849641ed0 100644 (file)
@@ -9348,7 +9348,7 @@ int t4_init_devlog_params(struct adapter *adap)
                return 0;
        }
 
-       /* Otherwise, ask the firmware for it's Device Log Parameters.
+       /* Otherwise, ask the firmware for its Device Log Parameters.
         */
        memset(&devlog_cmd, 0, sizeof(devlog_cmd));
        devlog_cmd.op_to_write = cpu_to_be32(FW_CMD_OP_V(FW_DEVLOG_CMD) |
index 4e6ecb9c8dccf055ca81c9c3db2e8d0a8588c175..31fab241574327cde94042b5d0864f074637c7c0 100644 (file)
@@ -2191,7 +2191,7 @@ static void __iomem *bar2_address(struct adapter *adapter,
 /**
  *     t4vf_sge_alloc_rxq - allocate an SGE RX Queue
  *     @adapter: the adapter
- *     @rspq: pointer to to the new rxq's Response Queue to be filled in
+ *     @rspq: pointer to the new rxq's Response Queue to be filled in
  *     @iqasynch: if 0, a normal rspq; if 1, an asynchronous event queue
  *     @dev: the network device associated with the new rspq
  *     @intr_dest: MSI-X vector index (overriden in MSI mode)
index 1c52592d3b658d21ec4a3d5f449a8223f77cae54..56fcc531af2e1e3a9af0553612ec36f7a67eb822 100644 (file)
@@ -706,7 +706,7 @@ int t4vf_fl_pkt_align(struct adapter *adapter)
         * separately.  The actual Ingress Packet Data alignment boundary
         * within Packed Buffer Mode is the maximum of these two
         * specifications.  (Note that it makes no real practical sense to
-        * have the Pading Boudary be larger than the Packing Boundary but you
+        * have the Padding Boundary be larger than the Packing Boundary but you
         * could set the chip up that way and, in fact, legacy T4 code would
         * end doing this because it would initialize the Padding Boundary and
         * leave the Packing Boundary initialized to 0 (16 bytes).)
index 5b7e6eb080f32c8280243426b9ad7fe8d143183f..b608585f19549b4bbd7d7fc20508c61e9ffc11f3 100644 (file)
@@ -1550,7 +1550,7 @@ static int tulip_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
                     (PCI_SLOT(pdev->devfn) == 12))) {
                        /* Cobalt MAC address in first EEPROM locations. */
                        sa_offset = 0;
-                      /* Ensure our media table fixup get's applied */
+                      /* Ensure our media table fixup gets applied */
                       memcpy(ee_data + 16, ee_data, 8);
                }
 #endif
index 05b8e3743a79f129aa06de427148a106d111714a..5d0c0906878df0e5307f9cf9ad77bab21a60bcc3 100644 (file)
@@ -1448,7 +1448,7 @@ static void ftgmac100_adjust_link(struct net_device *netdev)
        /* Disable all interrupts */
        iowrite32(0, priv->base + FTGMAC100_OFFSET_IER);
 
-       /* Release phy lock to allow ftgmac100_reset to aquire it, keeping lock
+       /* Release phy lock to allow ftgmac100_reset to acquire it, keeping lock
         * order consistent to prevent dead lock.
         */
        if (netdev->phydev)
index dd3ddb223a92eee0342f518baa762f1977b20eca..bfa5568baa926b3609d1a5de121e2854ed53a27a 100644 (file)
@@ -2110,7 +2110,7 @@ static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,
         */
        if (test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, &priv->state) && num &&
            !ring->pending_buf && num <= HNS3_MAX_PUSH_BD_NUM && doorbell) {
-               /* This smp_store_release() pairs with smp_load_aquire() in
+               /* This smp_store_release() pairs with smp_load_acquire() in
                 * hns3_nic_reclaim_desc(). Ensure that the BD valid bit
                 * is updated.
                 */
@@ -2126,7 +2126,7 @@ static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,
                return;
        }
 
-       /* This smp_store_release() pairs with smp_load_aquire() in
+       /* This smp_store_release() pairs with smp_load_acquire() in
         * hns3_nic_reclaim_desc(). Ensure that the BD valid bit is updated.
         */
        smp_store_release(&ring->last_to_use, ring->next_to_use);
index be917e4a83728261fcad5e44af61860955530369..f209a05e2033b2414c216ab3a05762cbcaf1c0a4 100644 (file)
@@ -490,7 +490,7 @@ static int hclge_mac_update_stats_complete(struct hclge_dev *hdev)
        desc_num = reg_num / HCLGE_REG_NUM_PER_DESC + 1;
 
        /* This may be called inside atomic sections,
-        * so GFP_ATOMIC is more suitalbe here
+        * so GFP_ATOMIC is more suitable here
         */
        desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC);
        if (!desc)
index 045c47786a0418159ec86db0b2712455dfe00555..28114a59347e763ad6c6427dd1bf392df1547ab7 100644 (file)
@@ -605,7 +605,7 @@ static void aeq_elements_init(struct hinic_eq *eq, u32 init_val)
 /**
  * ceq_elements_init - Initialize all the elements in the ceq
  * @eq: the event queue
- * @init_val: value to init with it the elements
+ * @init_val: value to init the elements with
  **/
 static void ceq_elements_init(struct hinic_eq *eq, u32 init_val)
 {
index 3f9c31d2921586fb3f35f1c2e507f356d885c4a0..97c1584dc05bc98d4b777f307c7a72c04d7df838 100644 (file)
@@ -861,7 +861,7 @@ static int send_mbox_to_func(struct hinic_mbox_func_to_func *func_to_func,
                 HINIC_MBOX_HEADER_SET(NOT_LAST_SEG, LAST) |
                 HINIC_MBOX_HEADER_SET(direction, DIRECTION) |
                 HINIC_MBOX_HEADER_SET(cmd, CMD) |
-                /* The vf's offset to it's associated pf */
+                /* The vf's offset to its associated pf */
                 HINIC_MBOX_HEADER_SET(msg_info->msg_id, MSG_ID) |
                 HINIC_MBOX_HEADER_SET(msg_info->status, STATUS) |
                 HINIC_MBOX_HEADER_SET(hinic_global_func_id_hw(hwdev->hwif),
index 1d04ea7df5526da604658a70dc17d4b2064d5b79..33535418178bdfe17aeaf1e3906968e11e6c48b0 100644 (file)
@@ -550,7 +550,7 @@ static int i40e_ptp_enable_pin(struct i40e_pf *pf, unsigned int chan,
        pins.gpio_4 = pf->ptp_pins->gpio_4;
 
        /* To turn on the pin - find the corresponding one based on
-        * the given index. To to turn the function off - find
+        * the given index. To turn the function off - find
         * which pin had it assigned. Don't use ptp_find_pin here
         * because it tries to lock the pincfg_mux which is locked by
         * ptp_pin_store() that calls here.
index d60efc340945e35db3cd850b231d1d53b63e3510..e89ddd60eeacc6b750dce38da8ea652dea32fb6d 100644 (file)
@@ -11,7 +11,7 @@
  * struct ice_dynamic_port - Track dynamically added devlink port instance
  * @hw_addr: the HW address for this port
  * @active: true if the port has been activated
- * @attached: true it the prot is attached
+ * @attached: true if the prot is attached
  * @devlink_port: the associated devlink port structure
  * @pf: pointer to the PF private structure
  * @vsi: the VSI associated with this port
index 270f936ce8074a531160d7f379d24c927b9f0bcd..c5da8e9cc0a0e5551b340e70628813999059bcfe 100644 (file)
@@ -250,7 +250,7 @@ static u16 ice_calc_txq_handle(struct ice_vsi *vsi, struct ice_tx_ring *ring, u8
                return ring->q_index - ring->ch->base_q;
 
        /* Idea here for calculation is that we subtract the number of queue
-        * count from TC that ring belongs to from it's absolute queue index
+        * count from TC that ring belongs to from its absolute queue index
         * and as a result we get the queue's index within TC.
         */
        return ring->q_index - vsi->tc_cfg.tc_info[tc].qoffset;
index 1be1e429a7c820971bafa69ed33ee65df673a8e0..b1965357fda2599da0725b0a1398e8f9c44b06eb 100644 (file)
@@ -3199,7 +3199,7 @@ void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc)
        if (!netdev)
                return;
 
-       /* CHNL VSI doesn't have it's own netdev, hence, no netdev_tc */
+       /* CHNL VSI doesn't have its own netdev, hence, no netdev_tc */
        if (vsi->type == ICE_VSI_CHNL)
                return;
 
index e8e439fd64a4263ef354c10001b2a3efdf9b4dbf..70365196bb5c731bce5a9b76ad48a8fcabd86606 100644 (file)
@@ -149,7 +149,7 @@ static const struct ice_cgu_pin_desc ice_e823_zl_cgu_outputs[] = {
  *                    |    8 bit s    | |    32 bits    |
  *                    +---------------+ +---------------+
  *
- * The increment value is added to the GLSTYN_TIME_R and GLSTYN_TIME_L
+ * The increment value is added to the GLTSYN_TIME_R and GLTSYN_TIME_L
  * registers every clock source tick. Depending on the specific device
  * configuration, the clock source frequency could be one of a number of
  * values.
index d344e0a1cd5e2acd392c0a433e87c514a866ebb9..7ac6637f8db73b2ff87d890f1bd5839945827635 100644 (file)
@@ -127,7 +127,7 @@ s32 igc_setup_link(struct igc_hw *hw)
                goto out;
 
        /* If requested flow control is set to default, set flow control
-        * to the both 'rx' and 'tx' pause frames.
+        * to both 'rx' and 'tx' pause frames.
         */
        if (hw->fc.requested_mode == igc_fc_default)
                hw->fc.requested_mode = igc_fc_full;
index da7a72ecce7a2dca8fe9f2fc3c4d72d2a7b20fa5..dcaef34b88b64dd451c9b01d4ca0959d9b90783c 100644 (file)
@@ -255,7 +255,7 @@ static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr)
 
        memset(msgbuf, 0, sizeof(msgbuf));
        /* If index is one then this is the start of a new list and needs
-        * indication to the PF so it can do it's own list management.
+        * indication to the PF so it can do its own list management.
         * If it is zero then that tells the PF to just clear all of
         * this VF's macvlans and there is no new list.
         */
index e47783ce77e08de2b935a983dc0c6bf782e0d5d9..57ac039df6f7032615842c9aa22d90565f47903a 100644 (file)
@@ -115,7 +115,7 @@ struct mvneta_bm_pool {
 
        /* Packet size */
        int pkt_size;
-       /* Size of the buffer acces through DMA*/
+       /* Size of the buffer access through DMA */
        u32 buf_size;
 
        /* BPPE virtual base address */
index 05adc54535eb39f0379102b3cb921c8b0ca3783a..d2163da28d18f065270ccc4eec14aad171adafa6 100644 (file)
@@ -155,7 +155,7 @@ int rvu_mbox_handler_lmtst_tbl_setup(struct rvu *rvu,
        int err = 0;
        u64 val;
 
-       /* Check if PF_FUNC wants to use it's own local memory as LMTLINE
+       /* Check if PF_FUNC wants to use its own local memory as LMTLINE
         * region, if so, convert that IOVA to physical address and
         * populate LMT table with that address
         */
index bdf4d852c15de2cec8cbf6eec7fae45562988653..60db1f616cc82f85c3d92c7e304c7a6b3919ff0f 100644 (file)
@@ -5050,7 +5050,7 @@ static int rvu_nix_block_init(struct rvu *rvu, struct nix_hw *nix_hw)
                                    (ltdefs->rx_apad1.ltype_match << 4) |
                                    ltdefs->rx_apad1.ltype_mask);
 
-                       /* Receive ethertype defination register defines layer
+                       /* Receive ethertype definition register defines layer
                         * information in NPC_RESULT_S to identify the Ethertype
                         * location in L2 header. Used for Ethertype overwriting
                         * in inline IPsec flow.
index e4cfdc8bc05524bea548b0243a2ec84fbac21242..68f8a1e36aa62054ead98f693ad0116ce94e6561 100644 (file)
@@ -1229,9 +1229,9 @@ static int pxa168_rx_poll(struct napi_struct *napi, int budget)
        int work_done = 0;
 
        /*
-        * We call txq_reclaim every time since in NAPI interupts are disabled
-        * and due to this we miss the TX_DONE interrupt,which is not updated in
-        * interrupt status register.
+        * We call txq_reclaim every time since in NAPI interrupts are disabled
+        * and due to this we miss the TX_DONE interrupt, which is not updated
+        * in interrupt status register.
         */
        txq_reclaim(dev, 0);
        if (netif_queue_stopped(dev)
index 99295eaf2f02077ec287934f81092030dbfa6883..60d24d8a224252fa6830e2601a10a320af122b01 100644 (file)
@@ -375,7 +375,7 @@ struct mlx5e_sq_dma {
        enum mlx5e_dma_map_type type;
 };
 
-/* Keep this enum consistent with with the corresponding strings array
+/* Keep this enum consistent with the corresponding strings array
  * declared in en/reporter_tx.c
  */
 enum {
index 588da02d6e22ea9011c88bc39ce45f4fe4da8d5b..dc7ba8d5fc433e4c30945a9df6035c65c97099a8 100644 (file)
@@ -1445,7 +1445,7 @@ static int fbnic_set_channels(struct net_device *netdev,
        standalone = ch->rx_count + ch->tx_count;
 
        /* Limits for standalone queues:
-        *  - each queue has it's own NAPI (num_napi >= rx + tx + combined)
+        *  - each queue has its own NAPI (num_napi >= rx + tx + combined)
         *  - combining queues (combined not 0, rx or tx must be 0)
         */
        if ((ch->rx_count && ch->tx_count && ch->combined_count) ||
index c7b0b09c2b097ddf15c3f95ffb9e2b727ddf25fd..541c41a9077a4e14dc6c6623e18a7f91f2e09bd6 100644 (file)
@@ -335,7 +335,7 @@ static void ks8842_reset_hw(struct ks8842_adapter *adapter)
                /* When running in DMA Mode the RX interrupt is not enabled in
                   timberdale because RX data is received by DMA callbacks
                   it must still be enabled in the KS8842 because it indicates
-                  to timberdale when there is RX data for it's DMA FIFOs */
+                  to timberdale when there is RX data for its DMA FIFOs */
                iowrite16(ENABLED_IRQS_DMA_IP, adapter->hw_addr + REG_TIMB_IER);
                ks8842_write16(adapter, 18, ENABLED_IRQS_DMA, REG_IER);
        } else {
index 27443e346f9f7baadd8e8502fe8bb72556905d9f..5026b0263d430b1a5c6f42aa64d98b1e4d519232 100644 (file)
@@ -4707,7 +4707,7 @@ static irqreturn_t s2io_isr(int irq, void *dev_id)
                        /*
                         * rx_traffic_int reg is an R1 register, writing all 1's
                         * will ensure that the actual interrupt causing bit
-                        * get's cleared and hence a read can be avoided.
+                        * gets cleared and hence a read can be avoided.
                         */
                        if (reason & GEN_INTR_RXTRAFFIC)
                                writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_int);
@@ -4721,7 +4721,7 @@ static irqreturn_t s2io_isr(int irq, void *dev_id)
 
                /*
                 * tx_traffic_int reg is an R1 register, writing all 1's
-                * will ensure that the actual interrupt causing bit get's
+                * will ensure that the actual interrupt causing bit gets
                 * cleared and hence a read can be avoided.
                 */
                if (reason & GEN_INTR_TXTRAFFIC)
index f1ddbe9994a3b8fe4a5ed577c500232a3ad79786..9886cd66ce6864b0113941dae7480c1a320f3f41 100644 (file)
@@ -1074,7 +1074,7 @@ struct ionic_rxq_sg_desc {
  *                    first IPv4 header.  If the receive packet
  *                    contains both a tunnel IPv4 header and a
  *                    transport IPv4 header, the device validates the
- *                    checksum for the both IPv4 headers.
+ *                    checksum for both IPv4 headers.
  *
  *                  IONIC_RXQ_COMP_CSUM_F_IP_BAD:
  *                    The IPv4 checksum calculated by the device did
index 9659ce5b071257f392153a660a7b349583ba8fd3..f3d2b2b3bad5ad83fe4b3358b1e5dd5a7249903c 100644 (file)
@@ -2216,7 +2216,7 @@ int qed_resc_alloc(struct qed_dev *cdev)
                }
 
                /* CID map / ILT shadow table / T2
-                * The talbes sizes are determined by the computations above
+                * The table sizes are determined by the computations above
                 */
                rc = qed_cxt_tables_alloc(p_hwfn);
                if (rc)
index 295ce435a1a411ed6263355956bce587db3f3294..4df8a97b717ef6ce4b908aca1ffc979f55807b52 100644 (file)
@@ -307,7 +307,7 @@ static int qed_ptp_hw_adjfreq(struct qed_dev *cdev, s32 ppb)
        } else if (ppb == 1) {
                /* This is a special case as its the only value which wouldn't
                 * fit in a s64 variable. In order to prevent castings simple
-                * handle it seperately.
+                * handle it separately.
                 */
                best_val = 4;
                best_period = 0xee6b27f;
index aee4e63b4b8291c3273e9d1e03ba9cae00a3845e..fca94a69c77729b5189759dcbdd1118d483b45e1 100644 (file)
@@ -1501,7 +1501,7 @@ static int ql_finish_auto_neg(struct ql3_adapter *qdev)
                                     "Remote error detected. Calling ql_port_start()\n");
                        /*
                         * ql_port_start() is shared code and needs
-                        * to lock the PHY on it's own.
+                        * to lock the PHY on its own.
                         */
                        ql_sem_unlock(qdev, QL_PHY_GIO_SEM_MASK);
                        if (ql_port_start(qdev))        /* Restart port */
index b733374b4dc5c95e536eb05b51f5e1a8b5c42b5b..6145252d8ff84125ff4e51e327d009d30f87d8eb 100644 (file)
@@ -2051,7 +2051,7 @@ static void qlcnic_83xx_init_hw(struct qlcnic_adapter *p_dev)
                dev_err(&p_dev->pdev->dev, "%s: failed\n", __func__);
 }
 
-/* POST FW related definations*/
+/* POST FW related definitions*/
 #define QLC_83XX_POST_SIGNATURE_REG    0x41602014
 #define QLC_83XX_POST_MODE_REG         0x41602018
 #define QLC_83XX_POST_FAST_MODE                0
index a508ebc4b206f9d71234e5e7dcdfea3637d9f1c6..28b3a7071e585897ccf042d23b927291d04d86fb 100644 (file)
@@ -419,7 +419,7 @@ int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt)
                goto error_put_device;
        }
 
-       /* v2 SGMII has a per-lane digital digital, so parse it if it exists */
+       /* v2 SGMII has a per-lane digital, so parse it if it exists */
        res = platform_get_resource(sgmii_pdev, IORESOURCE_MEM, 1);
        if (res) {
                phy->digital = ioremap(res->start, resource_size(res));
index 9cb339c461fba7e423d112ab491037c1fbbb43d4..b9866e389e6d2a174762a7fea517ad4d8d16d5e9 100644 (file)
 /* MC_CMD_DYNAMIC_SENSORS_GET_DESCRIPTIONS
  * Get descriptions for a set of sensors, specified as an array of sensor
  * handles as returned by MC_CMD_DYNAMIC_SENSORS_LIST. Any handles which do not
- * correspond to a sensor currently managed by the MC will be dropped from from
+ * correspond to a sensor currently managed by the MC will be dropped from
  * the response. This may happen when a sensor table update is in progress, and
  * effectively means the set of usable sensors is the intersection between the
  * sets of sensors known to the driver and the MC. On Riverhead this command is
  * broken sensor, then the state of the response's MC_CMD_DYNAMIC_SENSORS_VALUE
  * entry will be set to BROKEN, and any value provided should be treated as
  * erroneous. Any handles which do not correspond to a sensor currently managed
- * by the MC will be dropped from from the response. This may happen when a
+ * by the MC will be dropped from the response. This may happen when a
  * sensor table update is in progress, and effectively means the set of usable
  * sensors is the intersection between the sets of sensors known to the driver
  * and the MC. On Riverhead this command is implemented as a wrapper for
  * the named interface itself - INTF=..., PF=..., VF=VF_NULL to refer to a PF
  * on a named interface - INTF=..., PF=..., VF=... to refer to a VF on a named
  * interface where ... refers to a small integer for the VF/PF fields, and to
- * values from the PCIE_INTERFACE enum for for the INTF field. It's only
+ * values from the PCIE_INTERFACE enum for the INTF field. It's only
  * meaningful to use INTF=CALLER within a structure that's an argument to
  * MC_CMD_DEVEL_GET_CLIENT_HANDLE.
  */
index 89ccd65c978b7760b659beb69872543ccc2fadb6..562a038e38a76b2da718f99b8b26d6662cd03f7b 100644 (file)
@@ -1708,7 +1708,7 @@ void efx_farch_dimension_resources(struct efx_nic *efx, unsigned sram_lim_qw)
 
                        if (efx->vf_count > vf_limit) {
                                netif_err(efx, probe, efx->net_dev,
-                                         "Reducing VF count from from %d to %d\n",
+                                         "Reducing VF count from %d to %d\n",
                                          efx->vf_count, vf_limit);
                                efx->vf_count = vf_limit;
                        }
index a3cc8b7ec732682bc2838f2be677a7edd3ce8d20..b81b0aa460d2c57de05aa77636f8bd8615c66d22 100644 (file)
 #define       MC_CMD_SENSOR_SET_LIMS_IN_SENSOR_LEN 4
 /*            Enum values, see field(s): */
 /*               MC_CMD_SENSOR_INFO/MC_CMD_SENSOR_INFO_OUT/MASK */
-/* interpretation is is sensor-specific. */
+/* interpretation is sensor-specific. */
 #define       MC_CMD_SENSOR_SET_LIMS_IN_LOW0_OFST 4
 #define       MC_CMD_SENSOR_SET_LIMS_IN_LOW0_LEN 4
-/* interpretation is is sensor-specific. */
+/* interpretation is sensor-specific. */
 #define       MC_CMD_SENSOR_SET_LIMS_IN_HI0_OFST 8
 #define       MC_CMD_SENSOR_SET_LIMS_IN_HI0_LEN 4
-/* interpretation is is sensor-specific. */
+/* interpretation is sensor-specific. */
 #define       MC_CMD_SENSOR_SET_LIMS_IN_LOW1_OFST 12
 #define       MC_CMD_SENSOR_SET_LIMS_IN_LOW1_LEN 4
-/* interpretation is is sensor-specific. */
+/* interpretation is sensor-specific. */
 #define       MC_CMD_SENSOR_SET_LIMS_IN_HI1_OFST 16
 #define       MC_CMD_SENSOR_SET_LIMS_IN_HI1_LEN 4
 
  * handles as returned by MC_CMD_DYNAMIC_SENSORS_LIST
  *
  * Any handles which do not correspond to a sensor currently managed by the MC
- * will be dropped from from the response. This may happen when a sensor table
+ * will be dropped from the response. This may happen when a sensor table
  * update is in progress, and effectively means the set of usable sensors is
  * the intersection between the sets of sensors known to the driver and the MC.
  *
  * provided should be treated as erroneous.
  *
  * Any handles which do not correspond to a sensor currently managed by the MC
- * will be dropped from from the response. This may happen when a sensor table
+ * will be dropped from the response. This may happen when a sensor table
  * update is in progress, and effectively means the set of usable sensors is
  * the intersection between the sets of sensors known to the driver and the MC.
  *
index 87443f9dfd22b8b82564efc31bb0d8497d3757a1..2258f854e5bed17e8b30ff07992dd2c3016b62d8 100644 (file)
@@ -442,7 +442,7 @@ static void efx_tc_update_encap(struct efx_nic *efx,
                        rule = container_of(acts, struct efx_tc_flow_rule, acts);
                        if (rule->fallback)
                                fallback = rule->fallback;
-                       else /* fallback fallback: deliver to PF */
+                       else /* fallback: deliver to PF */
                                fallback = &efx->tc->facts.pf;
                        rc = efx_mae_update_rule(efx, fallback->fw_id,
                                                 rule->fw_id);
index 2e110609796559b185ca1ce6a5358ff575022238..6ca290f7c0dfb57abdacd7dc508cdd536a4c49a4 100644 (file)
@@ -2350,7 +2350,7 @@ static void smsc911x_drv_remove(struct platform_device *pdev)
        pm_runtime_disable(&pdev->dev);
 }
 
-/* standard register acces */
+/* standard register access */
 static const struct smsc911x_ops standard_smsc911x_ops = {
        .reg_read = __smsc911x_reg_read,
        .reg_write = __smsc911x_reg_write,
index 38b1c04c92a28d06b9156c2d6d5cce69503101ee..030fcf1b5993a45ae9f693825a0f6856cd248c54 100644 (file)
@@ -60,7 +60,7 @@ static int dwmac1000_validate_mcast_bins(struct device *dev, int mcast_bins)
  * Description:
  * This function validates the number of Unicast address entries supported
  * by a particular Synopsys 10/100/1000 controller. The Synopsys controller
- * supports 1..32, 64, or 128 Unicast filter entries for it's Unicast filter
+ * supports 1..32, 64, or 128 Unicast filter entries for its Unicast filter
  * logic. This function validates a valid, supported configuration is
  * selected, and defaults to 1 Unicast address if an unsupported
  * configuration is selected.
index 67625fb121015bd5211635e50a424dcab2d42ca6..893216b0e08dbcbea34113e34d188b343e5a373e 100644 (file)
@@ -5825,7 +5825,7 @@ static int niu_init_mac(struct niu *np)
        /* This looks hookey but the RX MAC reset we just did will
         * undo some of the state we setup in niu_init_tx_mac() so we
         * have to call it again.  In particular, the RX MAC reset will
-        * set the XMAC_MAX register back to it's default value.
+        * set the XMAC_MAX register back to its default value.
         */
        niu_init_tx_mac(np);
        niu_enable_tx_mac(np, 1);
index 0b169c08b0f2d1001a9f56bad4fae24debe9c330..d8368043fc3b629ed17d45fc1a2eb9f6dfd59e8e 100644 (file)
@@ -3250,8 +3250,8 @@ struct niu {
        struct niu_parent               *parent;
 
        u32                             flags;
-#define NIU_FLAGS_HOTPLUG_PHY_PRESENT  0x02000000 /* Removeable PHY detected*/
-#define NIU_FLAGS_HOTPLUG_PHY          0x01000000 /* Removeable PHY */
+#define NIU_FLAGS_HOTPLUG_PHY_PRESENT  0x02000000 /* Removable PHY detected*/
+#define NIU_FLAGS_HOTPLUG_PHY          0x01000000 /* Removable PHY */
 #define NIU_FLAGS_VPD_VALID            0x00800000 /* VPD has valid version */
 #define NIU_FLAGS_MSIX                 0x00400000 /* MSI-X in use */
 #define NIU_FLAGS_MCAST                        0x00200000 /* multicast filter enabled */
index 4bc0e114d5ee71a134694c167cc03b9325117fba..48f0a96c0e9e3a2a925b87aa1d0afc6869aa9010 100644 (file)
@@ -451,7 +451,7 @@ static void happy_meal_tcvr_write(struct happy_meal *hp,
 /* Auto negotiation.  The scheme is very simple.  We have a timer routine
  * that keeps watching the auto negotiation process as it progresses.
  * The DP83840 is first told to start doing it's thing, we set up the time
- * and place the timer state machine in it's initial state.
+ * and place the timer state machine in its initial state.
  *
  * Here the timer peeks at the DP83840 status registers at each click to see
  * if the auto negotiation has completed, we assume here that the DP83840 PHY
index 0daed05b7c83d015d6a98605dbf514f330267e09..300631e8ac0db4767d12122c874fe4c1e9e6047a 100644 (file)
@@ -36,7 +36,7 @@
 #define GLOB_PSIZE_6144       0x10       /* 6k packet size           */
 #define GLOB_PSIZE_8192       0x11       /* 8k packet size           */
 
-/* In MACE mode, there are four qe channels.  Each channel has it's own
+/* In MACE mode, there are four qe channels.  Each channel has its own
  * status bits in the QEC status register.  This macro picks out the
  * ones you want.
  */
index fc77f424f90bb142b5fbe6a016457291d7769681..2cee1f05ac47082ecac7f0d0d5dc2bd5c0d48395 100644 (file)
@@ -276,7 +276,7 @@ static irqreturn_t bdx_isr_napi(int irq, void *dev)
                         * currently intrs are disabled (since we read ISR),
                         * and we have failed to register next poll.
                         * so we read the regs to trigger chip
-                        * and allow further interupts. */
+                        * and allow further interrupts. */
                        READ_REG(priv, regTXF_WPTR_0);
                        READ_REG(priv, regRXD_WPTR_0);
                }