[PATCH net-next v2 2/4] net: lan966x: Correct spelling in comments

Horatiu Vultur horatiu.vultur at microchip.com
Wed Apr 24 23:23:37 PDT 2024


The 04/24/2024 16:13, Simon Horman wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Correct spelling in comments, as flagged by codespell.

Reviewed-by: Horatiu Vultur <horatiu.vultur at microchip.com>
> 
> Signed-off-by: Simon Horman <horms at kernel.org>
> ---
>  drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h  | 2 +-
>  drivers/net/ethernet/microchip/lan966x/lan966x_main.c | 4 ++--
>  drivers/net/ethernet/microchip/lan966x/lan966x_main.h | 2 +-
>  drivers/net/ethernet/microchip/lan966x/lan966x_port.c | 2 +-
>  drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c | 2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h b/drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h
> index f3b1e0d31826..e706163ce9cc 100644
> --- a/drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h
> +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_ifh.h
> @@ -78,7 +78,7 @@
>  /* Classified internal priority for queuing */
>  #define IFH_POS_QOS_CLASS            100
> 
> -/* Bit mask with eight cpu copy classses */
> +/* Bit mask with eight cpu copy classes */
>  #define IFH_POS_CPUQ                 92
> 
>  /* Relearn + learn flags (*) */
> diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
> index 2635ef8958c8..b7e75da65834 100644
> --- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
> +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
> @@ -276,7 +276,7 @@ static int lan966x_port_ifh_xmit(struct sk_buff *skb,
>                 ++i;
>         }
> 
> -       /* Inidcate EOF and valid bytes in the last word */
> +       /* Indicate EOF and valid bytes in the last word */
>         lan_wr(QS_INJ_CTRL_GAP_SIZE_SET(1) |
>                QS_INJ_CTRL_VLD_BYTES_SET(skb->len < LAN966X_BUFFER_MIN_SZ ?
>                                      0 : last) |
> @@ -520,7 +520,7 @@ bool lan966x_hw_offload(struct lan966x *lan966x, u32 port, struct sk_buff *skb)
>         u32 val;
> 
>         /* The IGMP and MLD frames are not forward by the HW if
> -        * multicast snooping is enabled, therefor don't mark as
> +        * multicast snooping is enabled, therefore don't mark as
>          * offload to allow the SW to forward the frames accordingly.
>          */
>         val = lan_rd(lan966x, ANA_CPU_FWD_CFG(port));
> diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_main.h b/drivers/net/ethernet/microchip/lan966x/lan966x_main.h
> index caa9e0533c96..f8bebbcf77b2 100644
> --- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.h
> +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.h
> @@ -326,7 +326,7 @@ struct lan966x {
> 
>         u8 base_mac[ETH_ALEN];
> 
> -       spinlock_t tx_lock; /* lock for frame transmition */
> +       spinlock_t tx_lock; /* lock for frame transmission */
> 
>         struct net_device *bridge;
>         u16 bridge_mask;
> diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_port.c b/drivers/net/ethernet/microchip/lan966x/lan966x_port.c
> index 2e83bbb9477e..fdfa4040d9ee 100644
> --- a/drivers/net/ethernet/microchip/lan966x/lan966x_port.c
> +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_port.c
> @@ -88,7 +88,7 @@ static void lan966x_port_link_down(struct lan966x_port *port)
>                 SYS_FRONT_PORT_MODE_HDX_MODE,
>                 lan966x, SYS_FRONT_PORT_MODE(port->chip_port));
> 
> -       /* 8: Flush the queues accociated with the port */
> +       /* 8: Flush the queues associated with the port */
>         lan_rmw(QSYS_SW_PORT_MODE_AGING_MODE_SET(3),
>                 QSYS_SW_PORT_MODE_AGING_MODE,
>                 lan966x, QSYS_SW_PORT_MODE(port->chip_port));
> diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c b/drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c
> index 3c44660128da..fa34a739c748 100644
> --- a/drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c
> +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c
> @@ -157,7 +157,7 @@ void lan966x_vlan_port_apply(struct lan966x_port *port)
> 
>         pvid = lan966x_vlan_port_get_pvid(port);
> 
> -       /* Ingress clasification (ANA_PORT_VLAN_CFG) */
> +       /* Ingress classification (ANA_PORT_VLAN_CFG) */
>         /* Default vlan to classify for untagged frames (may be zero) */
>         val = ANA_VLAN_CFG_VLAN_VID_SET(pvid);
>         if (port->vlan_aware)
> 
> --
> 2.43.0
> 

-- 
/Horatiu



More information about the linux-arm-kernel mailing list