All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8712: Replace blank spaces with tabstops
@ 2016-11-21  1:20 Vijai Kumar K
  2016-11-21 10:23 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Vijai Kumar K @ 2016-11-21  1:20 UTC (permalink / raw)
  To: gregkh, Larry.Finger, florian.c.schilhabel; +Cc: devel, driverdev-devel

Fix checkpatch warning:
WARNING: Statements should start on a tabstop

Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
---
 drivers/staging/rtl8712/rtl8712_led.c  | 24 ++++++++++++------------
 drivers/staging/rtl8712/rtl871x_recv.c |  2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c
index a8e237e..317aeee 100644
--- a/drivers/staging/rtl8712/rtl8712_led.c
+++ b/drivers/staging/rtl8712/rtl8712_led.c
@@ -355,7 +355,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
 			}
 			pLed->bLedScanBlinkInProgress = false;
 		} else {
-			 if (pLed->bLedOn)
+			if (pLed->bLedOn)
 				pLed->BlinkingLedState = LED_STATE_OFF;
 			else
 				pLed->BlinkingLedState = LED_STATE_ON;
@@ -390,7 +390,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
 			pLed->BlinkTimes = 0;
 			pLed->bLedBlinkInProgress = false;
 		} else {
-			 if (pLed->bLedOn)
+			if (pLed->bLedOn)
 				pLed->BlinkingLedState = LED_STATE_OFF;
 			else
 				pLed->BlinkingLedState = LED_STATE_ON;
@@ -460,7 +460,7 @@ static void SwLedBlink2(struct LED_871x *pLed)
 			}
 			pLed->bLedScanBlinkInProgress = false;
 		} else {
-			 if (pLed->bLedOn)
+			if (pLed->bLedOn)
 				pLed->BlinkingLedState = LED_STATE_OFF;
 			else
 				pLed->BlinkingLedState = LED_STATE_ON;
@@ -667,7 +667,7 @@ static void SwLedBlink4(struct LED_871x *pLed)
 				  msecs_to_jiffies(LED_BLINK_NO_LINK_INTERVAL_ALPHA));
 			pLed->bLedBlinkInProgress = false;
 		} else {
-			 if (pLed->bLedOn)
+			if (pLed->bLedOn)
 				pLed->BlinkingLedState = LED_STATE_OFF;
 			else
 				pLed->BlinkingLedState = LED_STATE_ON;
@@ -764,7 +764,7 @@ static void SwLedBlink5(struct LED_871x *pLed)
 					  msecs_to_jiffies(LED_BLINK_FASTER_INTERVAL_ALPHA));
 			pLed->bLedBlinkInProgress = false;
 		} else {
-			 if (pLed->bLedOn)
+			if (pLed->bLedOn)
 				pLed->BlinkingLedState = LED_STATE_OFF;
 			else
 				pLed->BlinkingLedState = LED_STATE_ON;
@@ -946,7 +946,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
 		if (psitesurveyctrl->traffic_busy &&
 		    check_fwstate(pmlmepriv, _FW_LINKED))
 			; /* dummy branch */
-		 else if (!pLed->bLedScanBlinkInProgress) {
+		else if (!pLed->bLedScanBlinkInProgress) {
 			if (IS_LED_WPS_BLINKING(pLed))
 				return;
 			if (pLed->bLedNoLinkBlinkInProgress) {
@@ -970,7 +970,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
 				pLed->BlinkingLedState = LED_STATE_ON;
 			mod_timer(&pLed->BlinkTimer, jiffies +
 				  msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA));
-		 }
+		}
 		break;
 	case LED_CTL_TX:
 	case LED_CTL_RX:
@@ -1000,7 +1000,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
 
 	case LED_CTL_START_WPS: /*wait until xinpin finish */
 	case LED_CTL_START_WPS_BOTTON:
-		 if (!pLed->bLedWPSBlinkInProgress) {
+		if (!pLed->bLedWPSBlinkInProgress) {
 			if (pLed->bLedNoLinkBlinkInProgress) {
 				del_timer(&pLed->BlinkTimer);
 				pLed->bLedNoLinkBlinkInProgress = false;
@@ -1113,9 +1113,9 @@ static void SwLedControlMode2(struct _adapter *padapter,
 
 	switch (LedAction) {
 	case LED_CTL_SITE_SURVEY:
-		 if (pmlmepriv->sitesurveyctrl.traffic_busy)
+		if (pmlmepriv->sitesurveyctrl.traffic_busy)
 			; /* dummy branch */
-		 else if (!pLed->bLedScanBlinkInProgress) {
+		else if (!pLed->bLedScanBlinkInProgress) {
 			if (IS_LED_WPS_BLINKING(pLed))
 				return;
 
@@ -1132,7 +1132,7 @@ static void SwLedControlMode2(struct _adapter *padapter,
 				pLed->BlinkingLedState = LED_STATE_ON;
 			mod_timer(&pLed->BlinkTimer, jiffies +
 				  msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA));
-		 }
+		}
 		break;
 
 	case LED_CTL_TX:
@@ -1186,7 +1186,7 @@ static void SwLedControlMode2(struct _adapter *padapter,
 			pLed->BlinkingLedState = LED_STATE_ON;
 			mod_timer(&pLed->BlinkTimer,
 				  jiffies + msecs_to_jiffies(0));
-		 }
+		}
 		break;
 
 	case LED_CTL_STOP_WPS:
diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c
index d193dd4..35c721a 100644
--- a/drivers/staging/rtl8712/rtl871x_recv.c
+++ b/drivers/staging/rtl8712/rtl871x_recv.c
@@ -402,7 +402,7 @@ static sint ap2sta_data_frame(struct _adapter *adapter,
 		}
 
 		/* filter packets that SA is myself or multicast or broadcast */
-	       if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN))
+		if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN))
 			return _FAIL;
 
 		/* da should be for me */
-- 
1.9.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* Re: [PATCH] staging: rtl8712: Replace blank spaces with tabstops
  2016-11-21  1:20 [PATCH] staging: rtl8712: Replace blank spaces with tabstops Vijai Kumar K
@ 2016-11-21 10:23 ` Greg KH
  2016-11-23  8:42   ` vijai
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2016-11-21 10:23 UTC (permalink / raw)
  To: Vijai Kumar K; +Cc: devel, florian.c.schilhabel, driverdev-devel, Larry.Finger

On Sun, Nov 20, 2016 at 05:20:08PM -0800, Vijai Kumar K wrote:
> Fix checkpatch warning:
> WARNING: Statements should start on a tabstop
> 
> Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
> ---
>  drivers/staging/rtl8712/rtl8712_led.c  | 24 ++++++++++++------------
>  drivers/staging/rtl8712/rtl871x_recv.c |  2 +-
>  2 files changed, 13 insertions(+), 13 deletions(-)

Does not apply to my tree, someone else must have done this before you
did :(
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* Re: [PATCH] staging: rtl8712: Replace blank spaces with tabstops
  2016-11-21 10:23 ` Greg KH
@ 2016-11-23  8:42   ` vijai
  0 siblings, 0 replies; 3+ messages in thread
From: vijai @ 2016-11-23  8:42 UTC (permalink / raw)
  To: Greg KH; +Cc: Larry.Finger, florian.c.schilhabel, devel, driverdev-devel

On Mon, Nov 21, 2016 at 11:23:57AM +0100, Greg KH wrote:
> On Sun, Nov 20, 2016 at 05:20:08PM -0800, Vijai Kumar K wrote:
> > Fix checkpatch warning:
> > WARNING: Statements should start on a tabstop
> > 
> > Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
> > ---
> >  drivers/staging/rtl8712/rtl8712_led.c  | 24 ++++++++++++------------
> >  drivers/staging/rtl8712/rtl871x_recv.c |  2 +-
> >  2 files changed, 13 insertions(+), 13 deletions(-)
> 
> Does not apply to my tree, someone else must have done this before you
> did :(
Looks like Yamanappagouda Patil <goudapatilk at gmail.com> has already fixed this issue. I just subscribed to the mailing list and hence did not know that it has been fixed already.

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

end of thread, other threads:[~2016-11-23  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21  1:20 [PATCH] staging: rtl8712: Replace blank spaces with tabstops Vijai Kumar K
2016-11-21 10:23 ` Greg KH
2016-11-23  8:42   ` vijai

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.