All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: fix a couple of spelling mistakes
@ 2017-06-03 22:21 Colin King
  2017-06-03 23:52 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2017-06-03 22:21 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Larry Finger, Hans de Goede, devel; +Cc: linux-kernel

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

Replace cant with cannot, argumetns with arguments and
add line break to overly long DBG_871X statement.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/staging/rtl8723bs/hal/hal_com.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
index 1880d4140bee..c5b715753725 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com.c
@@ -26,7 +26,7 @@ u8 rtw_hal_data_init(struct adapter *padapter)
 		padapter->hal_data_sz = sizeof(struct hal_com_data);
 		padapter->HalData = vzalloc(padapter->hal_data_sz);
 		if (padapter->HalData == NULL) {
-			DBG_8192C("cant not alloc memory for HAL DATA\n");
+			DBG_8192C("cannot not alloc memory for HAL DATA\n");
 			return _FAIL;
 		}
 	}
@@ -1415,7 +1415,8 @@ bool GetHexValueFromString(char *szStr, u32 *pu4bVal, u32 *pu4bMove)
 
 	/*  Check input parameter. */
 	if (szStr == NULL || pu4bVal == NULL || pu4bMove == NULL) {
-		DBG_871X("GetHexValueFromString(): Invalid inpur argumetns! szStr: %p, pu4bVal: %p, pu4bMove: %p\n", szStr, pu4bVal, pu4bMove);
+		DBG_871X("GetHexValueFromString(): Invalid input arguments! szStr: %p, pu4bVal: %p, pu4bMove: %p\n",
+			 szStr, pu4bVal, pu4bMove);
 		return false;
 	}
 
-- 
2.11.0

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

* Re: [PATCH] staging: rtl8723bs: fix a couple of spelling mistakes
  2017-06-03 22:21 [PATCH] staging: rtl8723bs: fix a couple of spelling mistakes Colin King
@ 2017-06-03 23:52 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2017-06-03 23:52 UTC (permalink / raw)
  To: Colin King, Greg Kroah-Hartman, Larry Finger, Hans de Goede,
	devel
  Cc: linux-kernel

On Sat, 2017-06-03 at 23:21 +0100, Colin King wrote:
> Replace cant with cannot, argumetns with arguments and
> add line break to overly long DBG_871X statement.
[]
> diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
[]
> @@ -26,7 +26,7 @@ u8 rtw_hal_data_init(struct adapter *padapter)
>  		padapter->hal_data_sz = sizeof(struct hal_com_data);
>  		padapter->HalData = vzalloc(padapter->hal_data_sz);
>  		if (padapter->HalData == NULL) {
> -			DBG_8192C("cant not alloc memory for HAL DATA\n");
> +			DBG_8192C("cannot not alloc memory for HAL DATA\n");

"cannot not" does not make sense.
 

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

end of thread, other threads:[~2017-06-03 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-03 22:21 [PATCH] staging: rtl8723bs: fix a couple of spelling mistakes Colin King
2017-06-03 23:52 ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.