All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error
@ 2014-11-28 12:16 Athira Lekshmi
  2014-11-28 12:35 ` Jes Sorensen
  0 siblings, 1 reply; 2+ messages in thread
From: Athira Lekshmi @ 2014-11-28 12:16 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, Jes.Sorensen, ruchandani.tina, linux-wireless,
	devel, linux-kernel, Athira Lekshmi

Fixed the checkpatch error:
ERROR: spaces required around that '>'

Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
---
 drivers/staging/rtl8723au/core/rtw_cmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c
index 44eae8e..9f1cdd4 100644
--- a/drivers/staging/rtl8723au/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723au/core/rtw_cmd.c
@@ -960,7 +960,7 @@ static void traffic_status_watchdog(struct rtw_adapter *padapter)
 		/*  check traffic for  powersaving. */
 			if (((pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod +
 			      pmlmepriv->LinkDetectInfo.NumTxOkInPeriod) > 8) ||
-			    pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod >2)
+			    pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2)
 				bEnterPS = false;
 			else
 				bEnterPS = true;
@@ -1154,7 +1154,7 @@ static void rtw_chk_hi_queue_hdl(struct rtw_adapter *padapter)
 
 			cnt++;
 
-			if (cnt>10)
+			if (cnt > 10)
 				break;
 
 			val = rtl8723a_chk_hi_queue_empty(padapter);
-- 
1.7.9.5


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

* Re: [PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error
  2014-11-28 12:16 [PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error Athira Lekshmi
@ 2014-11-28 12:35 ` Jes Sorensen
  0 siblings, 0 replies; 2+ messages in thread
From: Jes Sorensen @ 2014-11-28 12:35 UTC (permalink / raw)
  To: Athira Lekshmi
  Cc: gregkh, Larry.Finger, ruchandani.tina, linux-wireless, devel,
	linux-kernel

Athira Lekshmi <andnlnbn18@gmail.com> writes:
> Fixed the checkpatch error:
> ERROR: spaces required around that '>'
>
> Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
> ---
>  drivers/staging/rtl8723au/core/rtw_cmd.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c
> index 44eae8e..9f1cdd4 100644
> --- a/drivers/staging/rtl8723au/core/rtw_cmd.c
> +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c
> @@ -960,7 +960,7 @@ static void traffic_status_watchdog(struct rtw_adapter *padapter)
>  		/*  check traffic for  powersaving. */
>  			if (((pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod +
>  			      pmlmepriv->LinkDetectInfo.NumTxOkInPeriod) > 8) ||
> -			    pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod >2)
> +			    pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2)
>  				bEnterPS = false;
>  			else
>  				bEnterPS = true;

NACK - I already stated this! Making the line longer than 80 characters
is worse then the 'problem' this fixes.

Jes

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

end of thread, other threads:[~2014-11-28 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 12:16 [PATCH] Drivers:staging:rtl8723au:core: Fixed checkpatch error Athira Lekshmi
2014-11-28 12:35 ` Jes Sorensen

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.