* [PATCH] net: fddi: skfp: Mundane typo fixes throughout the file smt.h
@ 2021-03-10 22:51 Bhaskar Chowdhury
2021-03-10 23:07 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-10 22:51 UTC (permalink / raw)
To: davem, kuba, unixbhaskar, netdev, linux-kernel; +Cc: rdunlap
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(-)
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
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fddi: skfp: Mundane typo fixes throughout the file smt.h
2021-03-10 22:51 [PATCH] net: fddi: skfp: Mundane typo fixes throughout the file smt.h Bhaskar Chowdhury
@ 2021-03-10 23:07 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-10 23:07 UTC (permalink / raw)
To: Bhaskar Chowdhury, davem, kuba, netdev, linux-kernel
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
>
> --
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-10 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 22:51 [PATCH] net: fddi: skfp: Mundane typo fixes throughout the file smt.h Bhaskar Chowdhury
2021-03-10 23:07 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).