All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 5/5] Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning.
@ 2016-02-02  0:28 Rakhi Sharma
  2016-02-02  2:21 ` Julian Calaby
  0 siblings, 1 reply; 2+ messages in thread
From: Rakhi Sharma @ 2016-02-02  0:28 UTC (permalink / raw)
  To: joe, Jes.Sorensen; +Cc: gregkh, linux-wireless, Rakhi Sharma

Fixed a braces style warning.
Warning: braces {} are not necessary for single statement blocks.

Signed-off-by: Rakhi Sharma <rakhish1994@gmail.com>
---
Changes in v2:
  - remove a blank line. To make it readable.
---
 drivers/staging/rtl8723au/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
index 365f780..55a5078 100644
--- a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
@@ -177,8 +177,8 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit)
 	u8 *p;
 
 	if (limit < 1)
-
 		return NULL;
+
 	p = pbuf;
 	i = 0;
 	*len = 0;
-- 
1.9.1


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

* Re: [PATCH v2 5/5] Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning.
  2016-02-02  0:28 [PATCH v2 5/5] Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning Rakhi Sharma
@ 2016-02-02  2:21 ` Julian Calaby
  0 siblings, 0 replies; 2+ messages in thread
From: Julian Calaby @ 2016-02-02  2:21 UTC (permalink / raw)
  To: Rakhi Sharma; +Cc: Joe Perches, Jes Sorensen, Greg KH, linux-wireless

Hi Rakhi,

On Tue, Feb 2, 2016 at 11:28 AM, Rakhi Sharma <rakhish1994@gmail.com> wrote:
> Fixed a braces style warning.
> Warning: braces {} are not necessary for single statement blocks.
>
> Signed-off-by: Rakhi Sharma <rakhish1994@gmail.com>
> ---
> Changes in v2:
>   - remove a blank line. To make it readable.
> ---
>  drivers/staging/rtl8723au/core/rtw_ieee80211.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> index 365f780..55a5078 100644
> --- a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> +++ b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
> @@ -177,8 +177,8 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit)
>         u8 *p;
>
>         if (limit < 1)
> -
>                 return NULL;
> +

This looks line an incremental patch on top of your original one.

You need to resubmit the original patch with this change incorporated.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

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

end of thread, other threads:[~2016-02-02  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02  0:28 [PATCH v2 5/5] Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning Rakhi Sharma
2016-02-02  2:21 ` Julian Calaby

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.