All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8712: Rename misspelt macro
@ 2016-09-13 19:13 Namrata A Shettar
  2016-09-16  8:05 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Namrata A Shettar @ 2016-09-13 19:13 UTC (permalink / raw)
  To: outreachy-kernel, Larry Finger, Luis de Bethencourt,
	Greg Kroah-Hartman, Florian Schilhabel

[-- Attachment #1: Type: text/plain, Size: 3110 bytes --]

This patch corrects the word 'success' being misspelt in the macro:
- LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA =>  LED_BLINK_WPS_SUCCESS_
INTERVAL_ALPHA

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
---
 drivers/staging/rtl8712/rtl8712_led.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl8712_led.c
b/drivers/staging/rtl8712/rtl8712_led.c
index 9055827..20c4995 100644
--- a/drivers/staging/rtl8712/rtl8712_led.c
+++ b/drivers/staging/rtl8712/rtl8712_led.c
@@ -43,7 +43,7 @@
 #define LED_BLINK_LINK_INTERVAL_ALPHA          500
 #define LED_BLINK_SCAN_INTERVAL_ALPHA          180
 #define LED_BLINK_FASTER_INTERVAL_ALPHA                50
-#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA    5000
+#define LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA   5000

 /*==========================================================
=================
  * LED object.
@@ -407,7 +407,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
                if (pLed->BlinkingLedState == LED_ON) {
                        pLed->BlinkingLedState = LED_OFF;
                        mod_timer(&pLed->BlinkTimer, jiffies +
-                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCESS_INTERVAL_ALPHA));
+                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCCESS_INTERVAL_ALPHA));
                        bStopBlinking = false;
                } else {
                        bStopBlinking = true;
@@ -571,7 +571,7 @@ static void SwLedBlink3(struct LED_871x *pLed)
                if (pLed->BlinkingLedState == LED_ON) {
                        pLed->BlinkingLedState = LED_OFF;
                        mod_timer(&pLed->BlinkTimer, jiffies +
-                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCESS_INTERVAL_ALPHA));
+                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCCESS_INTERVAL_ALPHA));
                        bStopBlinking = false;
                } else {
                        bStopBlinking = true;
@@ -1048,7 +1048,7 @@ static void SwLedControlMode1(struct _adapter
*padapter,
                if (pLed->bLedOn) {
                        pLed->BlinkingLedState = LED_OFF;
                        mod_timer(&pLed->BlinkTimer, jiffies +
-                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCESS_INTERVAL_ALPHA));
+                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCCESS_INTERVAL_ALPHA));
                } else {
                        pLed->BlinkingLedState = LED_ON;
                        mod_timer(&pLed->BlinkTimer,
@@ -1328,7 +1328,7 @@ static void SwLedControlMode3(struct _adapter
*padapter,
                if (pLed->bLedOn) {
                        pLed->BlinkingLedState = LED_OFF;
                        mod_timer(&pLed->BlinkTimer, jiffies +
-                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCESS_INTERVAL_ALPHA));
+                                 msecs_to_jiffies(LED_BLINK_
WPS_SUCCESS_INTERVAL_ALPHA));
                } else {
                        pLed->BlinkingLedState = LED_ON;
                        mod_timer(&pLed->BlinkTimer,

[-- Attachment #2: Type: text/html, Size: 4060 bytes --]

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

* Re: [PATCH] staging: rtl8712: Rename misspelt macro
  2016-09-13 19:13 [PATCH] staging: rtl8712: Rename misspelt macro Namrata A Shettar
@ 2016-09-16  8:05 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2016-09-16  8:05 UTC (permalink / raw)
  To: Namrata A Shettar
  Cc: outreachy-kernel, Larry Finger, Luis de Bethencourt, Florian Schilhabel

On Wed, Sep 14, 2016 at 12:43:59AM +0530, Namrata A Shettar wrote:
> This patch corrects the word 'success' being misspelt in the macro:
> - LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA =>� LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA
> 
> Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
> ---
> �drivers/staging/rtl8712/rtl8712_led.c | 10 +++++-----
> �1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/
> rtl8712_led.c
> index 9055827..20c4995 100644
> --- a/drivers/staging/rtl8712/rtl8712_led.c
> +++ b/drivers/staging/rtl8712/rtl8712_led.c
> @@ -43,7 +43,7 @@
> �#define LED_BLINK_LINK_INTERVAL_ALPHA� � � � � 500
> �#define LED_BLINK_SCAN_INTERVAL_ALPHA� � � � � 180
> �#define LED_BLINK_FASTER_INTERVAL_ALPHA� � � � � � � � 50
> -#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA� � 5000
> +#define LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA� �5000
> 
> �/*===========================================================================
> � * LED object.
> @@ -407,7 +407,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
> � � � � � � � � if (pLed->BlinkingLedState == LED_ON) {
> � � � � � � � � � � � � pLed->BlinkingLedState = LED_OFF;
> � � � � � � � � � � � � mod_timer(&pLed->BlinkTimer, jiffies +
> -� � � � � � � � � � � � � � � � �msecs_to_jiffies(LED_BLINK_
> WPS_SUCESS_INTERVAL_ALPHA));
> +� � � � � � � � � � � � � � � � �msecs_to_jiffies(LED_BLINK_
> WPS_SUCCESS_INTERVAL_ALPHA));

The patch is line-wrapped and can not be applied :(

Please fix up and resend.

thanks,

greg k-h


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

end of thread, other threads:[~2016-09-16  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13 19:13 [PATCH] staging: rtl8712: Rename misspelt macro Namrata A Shettar
2016-09-16  8:05 ` Greg Kroah-Hartman

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.