linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: csr: Fix typo in csr/netdev.c
@ 2012-10-27 14:53 Masanari Iida
  2012-10-27 17:06 ` Mark Einon
  2012-10-28 12:41 ` [PATCH/v2] staging : " Masanari Iida
  0 siblings, 2 replies; 4+ messages in thread
From: Masanari Iida @ 2012-10-27 14:53 UTC (permalink / raw)
  To: gregkh, devel, linux-kernel; +Cc: Masanari Iida

Correct spelling typo in trace message.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/staging/csr/netdev.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c
index 0e34020..878c3df 100644
--- a/drivers/staging/csr/netdev.c
+++ b/drivers/staging/csr/netdev.c
@@ -100,7 +100,7 @@
 #endif /* LINUX_VERSION_CODE */
 
 
-/* Wext handler is suported only if CSR_SUPPORT_WEXT is defined */
+/* Wext handler is supported only if CSR_SUPPORT_WEXT is defined */
 #ifdef CSR_SUPPORT_WEXT
 extern struct iw_handler_def unifi_iw_handler_def;
 #endif /* CSR_SUPPORT_WEXT */
@@ -146,7 +146,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const
 /*
  * The driver uses the qdisc interface to buffer and control all
  * outgoing traffic. We create a root qdisc, register our qdisc operations
- * and later we create two subsiduary pfifo queues for the uncontrolled
+ * and later we create two subsidiary pfifo queues for the uncontrolled
  * and controlled ports.
  *
  * The network stack delivers all outgoing packets in our enqueue handler.
@@ -1748,7 +1748,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr
         return -1;
     }
 
-    /* RA adrress must contain the immediate destination MAC address that is similiar to
+    /* RA adrress must contain the immediate destination MAC address that is similar to
      * the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID))
      * which is address 1 field
      */
@@ -2782,7 +2782,7 @@ static void process_ma_packet_ind(unifi_priv_t *priv, CSR_SIGNAL *signal, bulk_d
         return;
     }
     /* For monitor mode we need to pass this indication to the registered application
-    handle this seperately*/
+    handle this separately*/
     /* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/
     if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS)
     {
@@ -3717,13 +3717,13 @@ static void update_expected_sn(unifi_priv_t *priv,
     u16 gap;
 
     gap = (sn - ba_session->expected_sn) & 0xFFF;
-    unifi_trace(priv, UDBG6, "%s: proccess the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap);
+    unifi_trace(priv, UDBG6, "%s: process the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap);
     for(j = 0; j < gap && j < ba_session->wind_size; j++) {
         i = SN_TO_INDEX(ba_session, ba_session->expected_sn);
-        unifi_trace(priv, UDBG6, "%s: proccess the slot index = %d\n", __FUNCTION__, i);
+        unifi_trace(priv, UDBG6, "%s: process the slot index = %d\n", __FUNCTION__, i);
         if(ba_session->buffer[i].active) {
             add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]);
-            unifi_trace(priv, UDBG6, "%s: proccess the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn);
+            unifi_trace(priv, UDBG6, "%s: process the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn);
             FREE_BUFFER_SLOT(ba_session, i);
         } else {
             unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i);
-- 
1.8.0.rc3.16.g8ead1bf


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

* Re: [PATCH] staging: csr: Fix typo in csr/netdev.c
  2012-10-27 14:53 [PATCH] staging: csr: Fix typo in csr/netdev.c Masanari Iida
@ 2012-10-27 17:06 ` Mark Einon
  2012-10-28 13:03   ` Masanari Iida
  2012-10-28 12:41 ` [PATCH/v2] staging : " Masanari Iida
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Einon @ 2012-10-27 17:06 UTC (permalink / raw)
  To: Masanari Iida; +Cc: gregkh, devel, linux-kernel

On 27 October 2012 15:53, Masanari Iida <standby24x7@gmail.com> wrote:
> Correct spelling typo in trace message.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  drivers/staging/csr/netdev.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c
> index 0e34020..878c3df 100644
> --- a/drivers/staging/csr/netdev.c
> +++ b/drivers/staging/csr/netdev.c
> @@ -100,7 +100,7 @@
>  #endif /* LINUX_VERSION_CODE */
>
>
> -/* Wext handler is suported only if CSR_SUPPORT_WEXT is defined */
> +/* Wext handler is supported only if CSR_SUPPORT_WEXT is defined */
>  #ifdef CSR_SUPPORT_WEXT
>  extern struct iw_handler_def unifi_iw_handler_def;
>  #endif /* CSR_SUPPORT_WEXT */
> @@ -146,7 +146,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const
>  /*
>   * The driver uses the qdisc interface to buffer and control all
>   * outgoing traffic. We create a root qdisc, register our qdisc operations
> - * and later we create two subsiduary pfifo queues for the uncontrolled
> + * and later we create two subsidiary pfifo queues for the uncontrolled
>   * and controlled ports.
>   *
>   * The network stack delivers all outgoing packets in our enqueue handler.
> @@ -1748,7 +1748,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr
>          return -1;
>      }
>
> -    /* RA adrress must contain the immediate destination MAC address that is similiar to
> +    /* RA adrress must contain the immediate destination MAC address that is similar to

Hi Masanari,

You've also missed the fact that 'address' is spelt incorrectly in
'RSA adrress' here.

Cheers,

Mark

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

* [PATCH/v2] staging : csr: Fix typo in csr/netdev.c
  2012-10-27 14:53 [PATCH] staging: csr: Fix typo in csr/netdev.c Masanari Iida
  2012-10-27 17:06 ` Mark Einon
@ 2012-10-28 12:41 ` Masanari Iida
  1 sibling, 0 replies; 4+ messages in thread
From: Masanari Iida @ 2012-10-28 12:41 UTC (permalink / raw)
  To: gregkh, devel, linux-kernel, mark.einon; +Cc: Masanari Iida

Correct spelling typos in csr/netdev.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/staging/csr/netdev.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c
index 113f2c1..56875ec 100644
--- a/drivers/staging/csr/netdev.c
+++ b/drivers/staging/csr/netdev.c
@@ -54,7 +54,7 @@
 #include <net/pkt_sched.h>
 
 
-/* Wext handler is suported only if CSR_SUPPORT_WEXT is defined */
+/* Wext handler is supported only if CSR_SUPPORT_WEXT is defined */
 #ifdef CSR_SUPPORT_WEXT
 extern struct iw_handler_def unifi_iw_handler_def;
 #endif /* CSR_SUPPORT_WEXT */
@@ -88,7 +88,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const
 /*
  * The driver uses the qdisc interface to buffer and control all
  * outgoing traffic. We create a root qdisc, register our qdisc operations
- * and later we create two subsiduary pfifo queues for the uncontrolled
+ * and later we create two subsidiary pfifo queues for the uncontrolled
  * and controlled ports.
  *
  * The network stack delivers all outgoing packets in our enqueue handler.
@@ -1581,7 +1581,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr
         return -1;
     }
 
-    /* RA adrress must contain the immediate destination MAC address that is similiar to
+    /* RA address must contain the immediate destination MAC address that is similar to
      * the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID))
      * which is address 1 field
      */
@@ -2558,7 +2558,7 @@ static void process_ma_packet_ind(unifi_priv_t *priv, CSR_SIGNAL *signal, bulk_d
         return;
     }
     /* For monitor mode we need to pass this indication to the registered application
-    handle this seperately*/
+    handle this separately*/
     /* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/
     if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS)
     {
@@ -3099,13 +3099,13 @@ static void update_expected_sn(unifi_priv_t *priv,
     u16 gap;
 
     gap = (sn - ba_session->expected_sn) & 0xFFF;
-    unifi_trace(priv, UDBG6, "%s: proccess the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap);
+    unifi_trace(priv, UDBG6, "%s: process the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap);
     for(j = 0; j < gap && j < ba_session->wind_size; j++) {
         i = SN_TO_INDEX(ba_session, ba_session->expected_sn);
-        unifi_trace(priv, UDBG6, "%s: proccess the slot index = %d\n", __FUNCTION__, i);
+        unifi_trace(priv, UDBG6, "%s: process the slot index = %d\n", __FUNCTION__, i);
         if(ba_session->buffer[i].active) {
             add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]);
-            unifi_trace(priv, UDBG6, "%s: proccess the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn);
+            unifi_trace(priv, UDBG6, "%s: process the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn);
             FREE_BUFFER_SLOT(ba_session, i);
         } else {
             unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i);
-- 
1.8.0.rc3.16.g8ead1bf


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

* Re: [PATCH] staging: csr: Fix typo in csr/netdev.c
  2012-10-27 17:06 ` Mark Einon
@ 2012-10-28 13:03   ` Masanari Iida
  0 siblings, 0 replies; 4+ messages in thread
From: Masanari Iida @ 2012-10-28 13:03 UTC (permalink / raw)
  To: Mark Einon; +Cc: gregkh, devel, linux-kernel

>
> Hi Masanari,
>
> You've also missed the fact that 'address' is spelt incorrectly in
> 'RSA adrress' here.
>
> Cheers,
>
> Mark

Hi Mark,

Thanks for reviewing my patch.
I just sent version 2 of the patch which include a fix.

Masanari

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

end of thread, other threads:[~2012-10-28 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-27 14:53 [PATCH] staging: csr: Fix typo in csr/netdev.c Masanari Iida
2012-10-27 17:06 ` Mark Einon
2012-10-28 13:03   ` Masanari Iida
2012-10-28 12:41 ` [PATCH/v2] staging : " Masanari Iida

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