diff mbox series

net: fddi: skfp: Mundane typo fixes throughout the file smt.h

Message ID 20210310225123.4676-1-unixbhaskar@gmail.com
State New
Headers show
Series net: fddi: skfp: Mundane typo fixes throughout the file smt.h | expand

Commit Message

Bhaskar Chowdhury March 10, 2021, 10:51 p.m. UTC
Few spelling fixes throughout the file.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 drivers/net/fddi/skfp/h/smt.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.26.2

Comments

Randy Dunlap March 10, 2021, 11:07 p.m. UTC | #1
On 3/10/21 2:51 PM, Bhaskar Chowdhury wrote:
> 
> Few spelling fixes throughout the file.
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

thanks.

> ---
>  drivers/net/fddi/skfp/h/smt.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/fddi/skfp/h/smt.h b/drivers/net/fddi/skfp/h/smt.h
> index a0dbc0f57a55..8d104f13e2c3 100644
> --- a/drivers/net/fddi/skfp/h/smt.h
> +++ b/drivers/net/fddi/skfp/h/smt.h
> @@ -411,7 +411,7 @@ struct smt_p_reason {
>  #define SMT_RDF_ILLEGAL 0x00000005	/* read only (PMF) */
>  #define SMT_RDF_NOPARAM	0x6		/* parameter not supported (PMF) */
>  #define SMT_RDF_RANGE	0x8		/* out of range */
> -#define SMT_RDF_AUTHOR	0x9		/* not autohorized */
> +#define SMT_RDF_AUTHOR	0x9		/* not authorized */
>  #define SMT_RDF_LENGTH	0x0a		/* length error */
>  #define SMT_RDF_TOOLONG	0x0b		/* length error */
>  #define SMT_RDF_SBA	0x0d		/* SBA denied */
> @@ -450,7 +450,7 @@ struct smt_p_version {
> 
>  struct smt_p_0015 {
>  	struct smt_para	para ;		/* generic parameter header */
> -	u_int		res_type ;	/* recsource type */
> +	u_int		res_type ;	/* resource type */
>  } ;
> 
>  #define	SYNC_BW		0x00000001L	/* Synchronous Bandwidth */
> @@ -489,7 +489,7 @@ struct smt_p_0017 {
>  struct smt_p_0018 {
>  	struct smt_para	para ;		/* generic parameter header */
>  	int		sba_ov_req ;	/* total sync bandwidth req for overhead*/
> -} ;					/* measuered in bytes per T_Neg */
> +} ;					/* measured in bytes per T_Neg */
> 
>  /*
>   * P19 : SBA Allocation Address
> @@ -562,7 +562,7 @@ struct smt_p_fsc {
>  #define FSC_TYPE2	2		/* Special A/C indicator forwarding */
> 
>  /*
> - * P00 21 : user defined authoriziation (see pmf.c)
> + * P00 21 : user defined authorization (see pmf.c)
>   */
>  #define SMT_P_AUTHOR	0x0021
> 
> --
diff mbox series

Patch

diff --git a/drivers/net/fddi/skfp/h/smt.h b/drivers/net/fddi/skfp/h/smt.h
index a0dbc0f57a55..8d104f13e2c3 100644
--- a/drivers/net/fddi/skfp/h/smt.h
+++ b/drivers/net/fddi/skfp/h/smt.h
@@ -411,7 +411,7 @@  struct smt_p_reason {
 #define SMT_RDF_ILLEGAL 0x00000005	/* read only (PMF) */
 #define SMT_RDF_NOPARAM	0x6		/* parameter not supported (PMF) */
 #define SMT_RDF_RANGE	0x8		/* out of range */
-#define SMT_RDF_AUTHOR	0x9		/* not autohorized */
+#define SMT_RDF_AUTHOR	0x9		/* not authorized */
 #define SMT_RDF_LENGTH	0x0a		/* length error */
 #define SMT_RDF_TOOLONG	0x0b		/* length error */
 #define SMT_RDF_SBA	0x0d		/* SBA denied */
@@ -450,7 +450,7 @@  struct smt_p_version {

 struct smt_p_0015 {
 	struct smt_para	para ;		/* generic parameter header */
-	u_int		res_type ;	/* recsource type */
+	u_int		res_type ;	/* resource type */
 } ;

 #define	SYNC_BW		0x00000001L	/* Synchronous Bandwidth */
@@ -489,7 +489,7 @@  struct smt_p_0017 {
 struct smt_p_0018 {
 	struct smt_para	para ;		/* generic parameter header */
 	int		sba_ov_req ;	/* total sync bandwidth req for overhead*/
-} ;					/* measuered in bytes per T_Neg */
+} ;					/* measured in bytes per T_Neg */

 /*
  * P19 : SBA Allocation Address
@@ -562,7 +562,7 @@  struct smt_p_fsc {
 #define FSC_TYPE2	2		/* Special A/C indicator forwarding */

 /*
- * P00 21 : user defined authoriziation (see pmf.c)
+ * P00 21 : user defined authorization (see pmf.c)
  */
 #define SMT_P_AUTHOR	0x0021