linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities"
@ 2019-04-15 14:26 Colin King
  2019-04-16  7:02 ` Mukesh Ojha
  2019-04-25 16:55 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: Colin King @ 2019-04-15 14:26 UTC (permalink / raw)
  To: Amitkumar Karwar, Nishant Sarmukadam, Ganapathi Bhat, Xinming Hu,
	Kalle Valo, David S . Miller, linux-wireless, netdev
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There various spelling mistakes in function names and in message
text. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/wireless/marvell/mwifiex/sta_event.c | 12 ++++++------
 drivers/net/wireless/marvell/mwifiex/uap_event.c |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c b/drivers/net/wireless/marvell/mwifiex/sta_event.c
index a327fc5b36e3..8b3123cb84c8 100644
--- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
@@ -27,9 +27,9 @@
 
 #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE    12
 
-static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
-					       struct mwifiex_sta_node *sta_ptr,
-					       struct sk_buff *event)
+static int mwifiex_check_ibss_peer_capabilities(struct mwifiex_private *priv,
+					        struct mwifiex_sta_node *sta_ptr,
+					        struct sk_buff *event)
 {
 	int evt_len, ele_len;
 	u8 *curr;
@@ -42,7 +42,7 @@ static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
 	evt_len = event->len;
 	curr = event->data;
 
-	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilties:",
+	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:",
 			 event->data, event->len);
 
 	skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
@@ -937,8 +937,8 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
 			    ibss_sta_addr);
 		sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
 		if (sta_ptr && adapter->adhoc_11n_enabled) {
-			mwifiex_check_ibss_peer_capabilties(priv, sta_ptr,
-							    adapter->event_skb);
+			mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
+							     adapter->event_skb);
 			if (sta_ptr->is_11n_enabled)
 				for (i = 0; i < MAX_NUM_TID; i++)
 					sta_ptr->ampdu_sta[i] =
diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c b/drivers/net/wireless/marvell/mwifiex/uap_event.c
index ca759d9c0253..86bfa1b9ef9d 100644
--- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
@@ -23,8 +23,8 @@
 
 #define MWIFIEX_BSS_START_EVT_FIX_SIZE    12
 
-static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
-					 struct sk_buff *event)
+static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
+					  struct sk_buff *event)
 {
 	int evt_len;
 	u8 *curr;
@@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
 	evt_len = event->len;
 	curr = event->data;
 
-	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:",
+	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
 			 event->data, event->len);
 
 	skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
@@ -201,7 +201,7 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
 		       ETH_ALEN);
 		if (priv->hist_data)
 			mwifiex_hist_data_reset(priv);
-		mwifiex_check_uap_capabilties(priv, adapter->event_skb);
+		mwifiex_check_uap_capabilities(priv, adapter->event_skb);
 		break;
 	case EVENT_UAP_MIC_COUNTERMEASURES:
 		/* For future development */
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities"
  2019-04-15 14:26 [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities" Colin King
@ 2019-04-16  7:02 ` Mukesh Ojha
  2019-04-16  8:10   ` Colin Ian King
  2019-04-25 16:55 ` Kalle Valo
  1 sibling, 1 reply; 5+ messages in thread
From: Mukesh Ojha @ 2019-04-16  7:02 UTC (permalink / raw)
  To: Colin King, Amitkumar Karwar, Nishant Sarmukadam, Ganapathi Bhat,
	Xinming Hu, Kalle Valo, David S . Miller, linux-wireless, netdev
  Cc: kernel-janitors, linux-kernel


On 4/15/2019 7:56 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There various spelling mistakes in function names and in message
> text. Fix these.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>


I am hoping you have done the compilation test.

Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>

Cheers,
-Mukesh

> ---
>   drivers/net/wireless/marvell/mwifiex/sta_event.c | 12 ++++++------
>   drivers/net/wireless/marvell/mwifiex/uap_event.c |  8 ++++----
>   2 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c b/drivers/net/wireless/marvell/mwifiex/sta_event.c
> index a327fc5b36e3..8b3123cb84c8 100644
> --- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
> +++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
> @@ -27,9 +27,9 @@
>   
>   #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE    12
>   
> -static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
> -					       struct mwifiex_sta_node *sta_ptr,
> -					       struct sk_buff *event)
> +static int mwifiex_check_ibss_peer_capabilities(struct mwifiex_private *priv,
> +					        struct mwifiex_sta_node *sta_ptr,
> +					        struct sk_buff *event)
>   {
>   	int evt_len, ele_len;
>   	u8 *curr;
> @@ -42,7 +42,7 @@ static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
>   	evt_len = event->len;
>   	curr = event->data;
>   
> -	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilties:",
> +	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:",
>   			 event->data, event->len);
>   
>   	skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
> @@ -937,8 +937,8 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
>   			    ibss_sta_addr);
>   		sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
>   		if (sta_ptr && adapter->adhoc_11n_enabled) {
> -			mwifiex_check_ibss_peer_capabilties(priv, sta_ptr,
> -							    adapter->event_skb);
> +			mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
> +							     adapter->event_skb);
>   			if (sta_ptr->is_11n_enabled)
>   				for (i = 0; i < MAX_NUM_TID; i++)
>   					sta_ptr->ampdu_sta[i] =
> diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c b/drivers/net/wireless/marvell/mwifiex/uap_event.c
> index ca759d9c0253..86bfa1b9ef9d 100644
> --- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
> +++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
> @@ -23,8 +23,8 @@
>   
>   #define MWIFIEX_BSS_START_EVT_FIX_SIZE    12
>   
> -static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
> -					 struct sk_buff *event)
> +static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
> +					  struct sk_buff *event)
>   {
>   	int evt_len;
>   	u8 *curr;
> @@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
>   	evt_len = event->len;
>   	curr = event->data;
>   
> -	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:",
> +	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
>   			 event->data, event->len);
>   
>   	skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
> @@ -201,7 +201,7 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
>   		       ETH_ALEN);
>   		if (priv->hist_data)
>   			mwifiex_hist_data_reset(priv);
> -		mwifiex_check_uap_capabilties(priv, adapter->event_skb);
> +		mwifiex_check_uap_capabilities(priv, adapter->event_skb);
>   		break;
>   	case EVENT_UAP_MIC_COUNTERMEASURES:
>   		/* For future development */

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities"
  2019-04-16  7:02 ` Mukesh Ojha
@ 2019-04-16  8:10   ` Colin Ian King
  0 siblings, 0 replies; 5+ messages in thread
From: Colin Ian King @ 2019-04-16  8:10 UTC (permalink / raw)
  To: Mukesh Ojha, Amitkumar Karwar, Nishant Sarmukadam,
	Ganapathi Bhat, Xinming Hu, Kalle Valo, David S . Miller,
	linux-wireless, netdev
  Cc: kernel-janitors, linux-kernel

On 16/04/2019 08:02, Mukesh Ojha wrote:
> 
> On 4/15/2019 7:56 PM, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> There various spelling mistakes in function names and in message
>> text. Fix these.
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> 
> 
> I am hoping you have done the compilation test.

Indeed. It builds fine.

> 
> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
> 
> Cheers,
> -Mukesh
> 
>> ---
>>   drivers/net/wireless/marvell/mwifiex/sta_event.c | 12 ++++++------
>>   drivers/net/wireless/marvell/mwifiex/uap_event.c |  8 ++++----
>>   2 files changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> b/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> index a327fc5b36e3..8b3123cb84c8 100644
>> --- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> +++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> @@ -27,9 +27,9 @@
>>     #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE    12
>>   -static int mwifiex_check_ibss_peer_capabilties(struct
>> mwifiex_private *priv,
>> -                           struct mwifiex_sta_node *sta_ptr,
>> -                           struct sk_buff *event)
>> +static int mwifiex_check_ibss_peer_capabilities(struct
>> mwifiex_private *priv,
>> +                            struct mwifiex_sta_node *sta_ptr,
>> +                            struct sk_buff *event)
>>   {
>>       int evt_len, ele_len;
>>       u8 *curr;
>> @@ -42,7 +42,7 @@ static int
>> mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
>>       evt_len = event->len;
>>       curr = event->data;
>>   -    mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilties:",
>> +    mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:",
>>                event->data, event->len);
>>         skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
>> @@ -937,8 +937,8 @@ int mwifiex_process_sta_event(struct
>> mwifiex_private *priv)
>>                   ibss_sta_addr);
>>           sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
>>           if (sta_ptr && adapter->adhoc_11n_enabled) {
>> -            mwifiex_check_ibss_peer_capabilties(priv, sta_ptr,
>> -                                adapter->event_skb);
>> +            mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
>> +                                 adapter->event_skb);
>>               if (sta_ptr->is_11n_enabled)
>>                   for (i = 0; i < MAX_NUM_TID; i++)
>>                       sta_ptr->ampdu_sta[i] =
>> diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> b/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> index ca759d9c0253..86bfa1b9ef9d 100644
>> --- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> +++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> @@ -23,8 +23,8 @@
>>     #define MWIFIEX_BSS_START_EVT_FIX_SIZE    12
>>   -static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
>> -                     struct sk_buff *event)
>> +static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
>> +                      struct sk_buff *event)
>>   {
>>       int evt_len;
>>       u8 *curr;
>> @@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct
>> mwifiex_private *priv,
>>       evt_len = event->len;
>>       curr = event->data;
>>   -    mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:",
>> +    mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
>>                event->data, event->len);
>>         skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
>> @@ -201,7 +201,7 @@ int mwifiex_process_uap_event(struct
>> mwifiex_private *priv)
>>                  ETH_ALEN);
>>           if (priv->hist_data)
>>               mwifiex_hist_data_reset(priv);
>> -        mwifiex_check_uap_capabilties(priv, adapter->event_skb);
>> +        mwifiex_check_uap_capabilities(priv, adapter->event_skb);
>>           break;
>>       case EVENT_UAP_MIC_COUNTERMEASURES:
>>           /* For future development */


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities"
  2019-04-15 14:26 [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities" Colin King
  2019-04-16  7:02 ` Mukesh Ojha
@ 2019-04-25 16:55 ` Kalle Valo
  1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2019-04-25 16:55 UTC (permalink / raw)
  To: Colin King
  Cc: Amitkumar Karwar, Nishant Sarmukadam, Ganapathi Bhat, Xinming Hu,
	David S . Miller, linux-wireless, netdev, kernel-janitors,
	linux-kernel

Colin King <colin.king@canonical.com> wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There various spelling mistakes in function names and in message
> text. Fix these.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>

Patch applied to wireless-drivers-next.git, thanks.

3b989e58e88a mwifiex: fix spelling mistake "capabilties" -> "capabilities"

-- 
https://patchwork.kernel.org/patch/10900921/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] mwifiex: fix spelling mistake: "capabilties" -> "capabilities"
@ 2018-04-28  9:36 Colin King
  0 siblings, 0 replies; 5+ messages in thread
From: Colin King @ 2018-04-28  9:36 UTC (permalink / raw)
  To: Amitkumar Karwar, Nishant Sarmukadam, Ganapathi Bhat, Xinming Hu,
	Kalle Valo, linux-wireless, netdev
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in function names and text strings

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/wireless/marvell/mwifiex/sta_event.c | 10 +++++-----
 drivers/net/wireless/marvell/mwifiex/uap_event.c |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c b/drivers/net/wireless/marvell/mwifiex/sta_event.c
index 93dfb76cd8a6..01636c1b7447 100644
--- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
@@ -27,9 +27,9 @@
 
 #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE    12
 
-static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
-					       struct mwifiex_sta_node *sta_ptr,
-					       struct sk_buff *event)
+static int mwifiex_check_ibss_peer_capabilities(struct mwifiex_private *priv,
+						struct mwifiex_sta_node *sta_ptr,
+						struct sk_buff *event)
 {
 	int evt_len, ele_len;
 	u8 *curr;
@@ -42,7 +42,7 @@ static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
 	evt_len = event->len;
 	curr = event->data;
 
-	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilties:",
+	mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:",
 			 event->data, event->len);
 
 	skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
@@ -933,7 +933,7 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
 			    ibss_sta_addr);
 		sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
 		if (sta_ptr && adapter->adhoc_11n_enabled) {
-			mwifiex_check_ibss_peer_capabilties(priv, sta_ptr,
+			mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
 							     adapter->event_skb);
 			if (sta_ptr->is_11n_enabled)
 				for (i = 0; i < MAX_NUM_TID; i++)
diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c b/drivers/net/wireless/marvell/mwifiex/uap_event.c
index e8c8728db15a..5c57efe24f6a 100644
--- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
@@ -23,8 +23,8 @@
 
 #define MWIFIEX_BSS_START_EVT_FIX_SIZE    12
 
-static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
-					 struct sk_buff *event)
+static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
+					  struct sk_buff *event)
 {
 	int evt_len;
 	u8 *curr;
@@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
 	evt_len = event->len;
 	curr = event->data;
 
-	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:",
+	mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
 			 event->data, event->len);
 
 	skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
@@ -194,7 +194,7 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
 		       ETH_ALEN);
 		if (priv->hist_data)
 			mwifiex_hist_data_reset(priv);
-		mwifiex_check_uap_capabilties(priv, adapter->event_skb);
+		mwifiex_check_uap_capabilities(priv, adapter->event_skb);
 		break;
 	case EVENT_UAP_MIC_COUNTERMEASURES:
 		/* For future development */
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-25 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15 14:26 [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities" Colin King
2019-04-16  7:02 ` Mukesh Ojha
2019-04-16  8:10   ` Colin Ian King
2019-04-25 16:55 ` Kalle Valo
  -- strict thread matches above, loose matches on Subject: below --
2018-04-28  9:36 [PATCH] mwifiex: fix spelling mistake: " Colin King

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).