[PATCH] staging: rtl8188eu: fix spelling mistake "inferface" -> "interface"

2018-11-28 Thread Colin King
From: Colin Ian King 

Fix spelling mistake in module description text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c 
b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
index fb213a90ed1b..abcce2240f15 100644
--- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
@@ -131,7 +131,7 @@ MODULE_PARM_DESC(debug, "Set debug level (1-9) (default 
1)");
 
 static bool rtw_monitor_enable;
 module_param_named(monitor_enable, rtw_monitor_enable, bool, 0444);
-MODULE_PARM_DESC(monitor_enable, "Enable monitor inferface (default: false)");
+MODULE_PARM_DESC(monitor_enable, "Enable monitor interface (default: false)");
 
 static int netdev_close(struct net_device *pnetdev);
 
-- 
2.19.1



[PATCH] staging: rtl8188eu: fix spelling mistake "inferface" -> "interface"

2018-11-28 Thread Colin King
From: Colin Ian King 

Fix spelling mistake in module description text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c 
b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
index fb213a90ed1b..abcce2240f15 100644
--- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
@@ -131,7 +131,7 @@ MODULE_PARM_DESC(debug, "Set debug level (1-9) (default 
1)");
 
 static bool rtw_monitor_enable;
 module_param_named(monitor_enable, rtw_monitor_enable, bool, 0444);
-MODULE_PARM_DESC(monitor_enable, "Enable monitor inferface (default: false)");
+MODULE_PARM_DESC(monitor_enable, "Enable monitor interface (default: false)");
 
 static int netdev_close(struct net_device *pnetdev);
 
-- 
2.19.1



[PATCH] staging: rtl8188eu: fix spelling mistake "EINPROGESS" -> "EINPROGRESS"

2018-10-12 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in RT_TRACE message text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c 
b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 43f031d644fd..d6a499692e96 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -606,7 +606,7 @@ static void usb_write_port_complete(struct urb *purb, 
struct pt_regs *regs)
if ((purb->status == -EPIPE) || (purb->status == -EPROTO)) {
sreset_set_wifi_error_status(padapter, 
USB_WRITE_PORT_FAIL);
} else if (purb->status == -EINPROGRESS) {
-   RT_TRACE(_module_hci_ops_os_c_, _drv_err_, 
("usb_write_port_complete: EINPROGESS\n"));
+   RT_TRACE(_module_hci_ops_os_c_, _drv_err_, 
("usb_write_port_complete: EINPROGRESS\n"));
goto check_completion;
} else if (purb->status == -ENOENT) {
DBG_88E("%s: -ENOENT\n", __func__);
-- 
2.17.1



[PATCH] staging: rtl8188eu: fix spelling mistake "EINPROGESS" -> "EINPROGRESS"

2018-10-12 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in RT_TRACE message text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c 
b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 43f031d644fd..d6a499692e96 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -606,7 +606,7 @@ static void usb_write_port_complete(struct urb *purb, 
struct pt_regs *regs)
if ((purb->status == -EPIPE) || (purb->status == -EPROTO)) {
sreset_set_wifi_error_status(padapter, 
USB_WRITE_PORT_FAIL);
} else if (purb->status == -EINPROGRESS) {
-   RT_TRACE(_module_hci_ops_os_c_, _drv_err_, 
("usb_write_port_complete: EINPROGESS\n"));
+   RT_TRACE(_module_hci_ops_os_c_, _drv_err_, 
("usb_write_port_complete: EINPROGRESS\n"));
goto check_completion;
} else if (purb->status == -ENOENT) {
DBG_88E("%s: -ENOENT\n", __func__);
-- 
2.17.1



[PATCH] staging: rtl8188eu: fix spelling mistake "Abnornally" -> "Abnormally"

2018-10-12 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in ODM_RT_TRACE trace message

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/hal/odm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c 
b/drivers/staging/rtl8188eu/hal/odm.c
index 5a0c38ecb15e..4ab490c1c13b 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -418,7 +418,7 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
 
/* 1 Modify DIG lower bound, deal with abnormally large false alarm */
if (pFalseAlmCnt->Cnt_all > 1) {
-   ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("dm_DIG(): 
Abnornally false alarm case.\n"));
+   ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("dm_DIG(): 
Abnormally false alarm case.\n"));
 
if (pDM_DigTable->LargeFAHit != 3)
pDM_DigTable->LargeFAHit++;
-- 
2.17.1



[PATCH] staging: rtl8188eu: fix spelling mistake "Abnornally" -> "Abnormally"

2018-10-12 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in ODM_RT_TRACE trace message

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/hal/odm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c 
b/drivers/staging/rtl8188eu/hal/odm.c
index 5a0c38ecb15e..4ab490c1c13b 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -418,7 +418,7 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
 
/* 1 Modify DIG lower bound, deal with abnormally large false alarm */
if (pFalseAlmCnt->Cnt_all > 1) {
-   ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("dm_DIG(): 
Abnornally false alarm case.\n"));
+   ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("dm_DIG(): 
Abnormally false alarm case.\n"));
 
if (pDM_DigTable->LargeFAHit != 3)
pDM_DigTable->LargeFAHit++;
-- 
2.17.1



[PATCH] staging: rtl8188eu: fix spelling mistake "transfoer_len" -> "transfer_len"

2018-09-26 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in DBG_88E debug message text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c 
b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 5ddfc2ead127..43f031d644fd 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -84,7 +84,7 @@ static int recvbuf2recvframe(struct adapter *adapt, struct 
sk_buff *pskb)
 
if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) {
RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, 
("recvbuf2recvframe: pkt_len<=0\n"));
-   DBG_88E("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> 
transfoer_len\n", __func__, __LINE__);
+   DBG_88E("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> 
transfer_len\n", __func__, __LINE__);
rtw_free_recvframe(precvframe, pfree_recv_queue);
goto _exit_recvbuf2recvframe;
}
-- 
2.17.1



[PATCH] staging: rtl8188eu: fix spelling mistake "transfoer_len" -> "transfer_len"

2018-09-26 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in DBG_88E debug message text.

Signed-off-by: Colin Ian King 
---
 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c 
b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 5ddfc2ead127..43f031d644fd 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -84,7 +84,7 @@ static int recvbuf2recvframe(struct adapter *adapt, struct 
sk_buff *pskb)
 
if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) {
RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, 
("recvbuf2recvframe: pkt_len<=0\n"));
-   DBG_88E("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> 
transfoer_len\n", __func__, __LINE__);
+   DBG_88E("%s()-%d: RX Warning!,pkt_len<=0 or pkt_offset> 
transfer_len\n", __func__, __LINE__);
rtw_free_recvframe(precvframe, pfree_recv_queue);
goto _exit_recvbuf2recvframe;
}
-- 
2.17.1



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Wed, Aug 22, 2018 at 02:35:32PM +0530, Bhaskar Singh wrote:
> On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote:
> > On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> > > This patch fix spelling mistakes in TODO.
> > > 
> > 
> > Btw, it helps when you say which word you're changing, otherwise it
> > takes a while to spot the difference.  We changed "HGz" to "GHz".
> > 
> > Probably someone smarter than I am would have spotted it faster...
> > 
> > regards,
> > dan carpenter
> >
> 
> Apologies for the inconvenience and thanks a lot for your suggestion.
> 
> I will definitely follow that.
> 
> Should I send the patch again?

No.  It's fine.

regards,
dan carpenter



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Wed, Aug 22, 2018 at 02:35:32PM +0530, Bhaskar Singh wrote:
> On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote:
> > On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> > > This patch fix spelling mistakes in TODO.
> > > 
> > 
> > Btw, it helps when you say which word you're changing, otherwise it
> > takes a while to spot the difference.  We changed "HGz" to "GHz".
> > 
> > Probably someone smarter than I am would have spotted it faster...
> > 
> > regards,
> > dan carpenter
> >
> 
> Apologies for the inconvenience and thanks a lot for your suggestion.
> 
> I will definitely follow that.
> 
> Should I send the patch again?

No.  It's fine.

regards,
dan carpenter



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Bhaskar Singh
On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote:
> On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> > This patch fix spelling mistakes in TODO.
> > 
> 
> Btw, it helps when you say which word you're changing, otherwise it
> takes a while to spot the difference.  We changed "HGz" to "GHz".
> 
> Probably someone smarter than I am would have spotted it faster...
> 
> regards,
> dan carpenter
>

Apologies for the inconvenience and thanks a lot for your suggestion.

I will definitely follow that.

Should I send the patch again?

Thanks
Bhaskar Singh



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Bhaskar Singh
On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote:
> On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> > This patch fix spelling mistakes in TODO.
> > 
> 
> Btw, it helps when you say which word you're changing, otherwise it
> takes a while to spot the difference.  We changed "HGz" to "GHz".
> 
> Probably someone smarter than I am would have spotted it faster...
> 
> regards,
> dan carpenter
>

Apologies for the inconvenience and thanks a lot for your suggestion.

I will definitely follow that.

Should I send the patch again?

Thanks
Bhaskar Singh



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> This patch fix spelling mistakes in TODO.
> 

Btw, it helps when you say which word you're changing, otherwise it
takes a while to spot the difference.  We changed "HGz" to "GHz".

Probably someone smarter than I am would have spotted it faster...

regards,
dan carpenter



Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote:
> This patch fix spelling mistakes in TODO.
> 

Btw, it helps when you say which word you're changing, otherwise it
takes a while to spot the difference.  We changed "HGz" to "GHz".

Probably someone smarter than I am would have spotted it faster...

regards,
dan carpenter



[PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-20 Thread Bhaskar Singh
This patch fix spelling mistakes in TODO.

Signed-off-by: Bhaskar Singh 
---
 drivers/staging/rtl8188eu/TODO | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/TODO b/drivers/staging/rtl8188eu/TODO
index 7581e25f231d..5faa0a9bba25 100644
--- a/drivers/staging/rtl8188eu/TODO
+++ b/drivers/staging/rtl8188eu/TODO
@@ -1,5 +1,5 @@
 TODO:
-- find and remove remaining code valid only for 5 HGz. Most of the obvious
+- find and remove remaining code valid only for 5 GHz. Most of the obvious
   ones have been removed, but things like channel > 14 still exist.
 - find and remove any code for other chips that is left over
 - convert any remaining unusual variable types
-- 
2.16.4



[PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-20 Thread Bhaskar Singh
This patch fix spelling mistakes in TODO.

Signed-off-by: Bhaskar Singh 
---
 drivers/staging/rtl8188eu/TODO | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/TODO b/drivers/staging/rtl8188eu/TODO
index 7581e25f231d..5faa0a9bba25 100644
--- a/drivers/staging/rtl8188eu/TODO
+++ b/drivers/staging/rtl8188eu/TODO
@@ -1,5 +1,5 @@
 TODO:
-- find and remove remaining code valid only for 5 HGz. Most of the obvious
+- find and remove remaining code valid only for 5 GHz. Most of the obvious
   ones have been removed, but things like channel > 14 still exist.
 - find and remove any code for other chips that is left over
 - convert any remaining unusual variable types
-- 
2.16.4