[PATCH nf-next v2 4/4] ipvs: Correct spelling in comments

Simon Horman posted 4 patches 2 years, 10 months ago
There is a newer version of this series
[PATCH nf-next v2 4/4] ipvs: Correct spelling in comments
Posted by Simon Horman 2 years, 10 months ago
Correct some spelling errors flagged by codespell and found by inspection.

Signed-off-by: Simon Horman <horms@kernel.org>
---
 include/net/ip_vs.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index a3adc246ee31..ff406ef4fd4a 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -584,7 +584,7 @@ struct ip_vs_conn {
 	spinlock_t              lock;           /* lock for state transition */
 	volatile __u16          state;          /* state info */
 	volatile __u16          old_state;      /* old state, to be used for
-						 * state transition triggerd
+						 * state transition triggered
 						 * synchronization
 						 */
 	__u32			fwmark;		/* Fire wall mark from skb */
@@ -635,7 +635,7 @@ struct ip_vs_service_user_kern {
 	u16			protocol;
 	union nf_inet_addr	addr;		/* virtual ip address */
 	__be16			port;
-	u32			fwmark;		/* firwall mark of service */
+	u32			fwmark;		/* firewall mark of service */
 
 	/* virtual service options */
 	char			*sched_name;
@@ -1036,7 +1036,7 @@ struct netns_ipvs {
 	struct ipvs_sync_daemon_cfg	bcfg;	/* Backup Configuration */
 	/* net name space ptr */
 	struct net		*net;            /* Needed by timer routines */
-	/* Number of heterogeneous destinations, needed becaus heterogeneous
+	/* Number of heterogeneous destinations, needed because heterogeneous
 	 * are not supported when synchronization is enabled.
 	 */
 	unsigned int		mixed_address_family_dests;

-- 
2.30.2
Re: [PATCH nf-next v2 4/4] ipvs: Correct spelling in comments
Posted by Horatiu Vultur 2 years, 10 months ago
The 04/11/2023 09:10, Simon Horman wrote:
> 
> Correct some spelling errors flagged by codespell and found by inspection.

Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>

> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---
>  include/net/ip_vs.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
> index a3adc246ee31..ff406ef4fd4a 100644
> --- a/include/net/ip_vs.h
> +++ b/include/net/ip_vs.h
> @@ -584,7 +584,7 @@ struct ip_vs_conn {
>         spinlock_t              lock;           /* lock for state transition */
>         volatile __u16          state;          /* state info */
>         volatile __u16          old_state;      /* old state, to be used for
> -                                                * state transition triggerd
> +                                                * state transition triggered
>                                                  * synchronization
>                                                  */
>         __u32                   fwmark;         /* Fire wall mark from skb */
> @@ -635,7 +635,7 @@ struct ip_vs_service_user_kern {
>         u16                     protocol;
>         union nf_inet_addr      addr;           /* virtual ip address */
>         __be16                  port;
> -       u32                     fwmark;         /* firwall mark of service */
> +       u32                     fwmark;         /* firewall mark of service */
> 
>         /* virtual service options */
>         char                    *sched_name;
> @@ -1036,7 +1036,7 @@ struct netns_ipvs {
>         struct ipvs_sync_daemon_cfg     bcfg;   /* Backup Configuration */
>         /* net name space ptr */
>         struct net              *net;            /* Needed by timer routines */
> -       /* Number of heterogeneous destinations, needed becaus heterogeneous
> +       /* Number of heterogeneous destinations, needed because heterogeneous
>          * are not supported when synchronization is enabled.
>          */
>         unsigned int            mixed_address_family_dests;
> 
> --
> 2.30.2
> 

-- 
/Horatiu