linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
@ 2017-05-04 20:06 Riccardo
       [not found] ` <20170507031413.GB30688@kroah.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Riccardo @ 2017-05-04 20:06 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Riccardo

Fixed a brace coding style issue, found via checkpatch.

Signed-off-by: Riccardo Marotti <riccardo.marotti@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index a791175b86f5..8f236b332a47 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	ieee80211_softmac_init(ieee);
 
 	ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
-	if (ieee->pHTInfo == NULL)
-	{
+	if (ieee->pHTInfo == NULL) {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
 		goto failed;
 	}
-- 
2.12.2

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

* Re: [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
       [not found] ` <20170507031413.GB30688@kroah.com>
@ 2017-05-07  6:45   ` Riccardo Marotti
  0 siblings, 0 replies; 4+ messages in thread
From: Riccardo Marotti @ 2017-05-07  6:45 UTC (permalink / raw)
  To: Greg KH; +Cc: devel, linux-kernel

On Sun, May 7, 2017 at 5:14 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Thu, May 04, 2017 at 10:06:51PM +0200, Riccardo wrote:
>> Fixed a brace coding style issue, found via checkpatch.
>>
>> Signed-off-by: Riccardo Marotti <riccardo.marotti@gmail.com>
>
> This name doesn't match the name on the From: line of your email :(
>

Sorry about that!
I'll re-send the patch with the correct name.

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

* Re: [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
  2017-05-07  6:47 Riccardo Marotti
@ 2017-05-07  8:49 ` Riccardo Marotti
  0 siblings, 0 replies; 4+ messages in thread
From: Riccardo Marotti @ 2017-05-07  8:49 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel

On 05/07/2017 08:47 AM, Riccardo Marotti wrote:
> From: Riccardo <riccardo.marotti@gmail.com>
> 
> Fixed a brace coding style issue, found via checkpatch.
> 
> Signed-off-by: Riccardo Marotti <riccardo.marotti@gmail.com>
> ---
>  drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> index a791175b86f5..8f236b332a47 100644
> --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> @@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
>  	ieee80211_softmac_init(ieee);
>  
>  	ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
> -	if (ieee->pHTInfo == NULL)
> -	{
> +	if (ieee->pHTInfo == NULL) {
>  		IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
>  		goto failed;
>  	}
> 

I'm really sorry... this was sent by mistake...

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

* [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
@ 2017-05-07  6:47 Riccardo Marotti
  2017-05-07  8:49 ` Riccardo Marotti
  0 siblings, 1 reply; 4+ messages in thread
From: Riccardo Marotti @ 2017-05-07  6:47 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Riccardo

From: Riccardo <riccardo.marotti@gmail.com>

Fixed a brace coding style issue, found via checkpatch.

Signed-off-by: Riccardo Marotti <riccardo.marotti@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index a791175b86f5..8f236b332a47 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	ieee80211_softmac_init(ieee);
 
 	ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
-	if (ieee->pHTInfo == NULL)
-	{
+	if (ieee->pHTInfo == NULL) {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
 		goto failed;
 	}
-- 
2.12.2

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

end of thread, other threads:[~2017-05-08  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 20:06 [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue Riccardo
     [not found] ` <20170507031413.GB30688@kroah.com>
2017-05-07  6:45   ` Riccardo Marotti
2017-05-07  6:47 Riccardo Marotti
2017-05-07  8:49 ` Riccardo Marotti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).