* [PATCH v2] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
@ 2017-05-07 9:01 Riccardo Marotti
2017-05-12 9:07 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Riccardo Marotti @ 2017-05-07 9:01 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Riccardo Marotti
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 [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
2017-05-07 9:01 [PATCH v2] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue Riccardo Marotti
@ 2017-05-12 9:07 ` Greg KH
2017-05-12 9:43 ` Riccardo Marotti
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2017-05-12 9:07 UTC (permalink / raw)
To: Riccardo Marotti; +Cc: devel, linux-kernel
On Sun, May 07, 2017 at 11:01:07AM +0200, Riccardo Marotti wrote:
> 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(-)
What changed from v1? Always put that info below the --- line.
Please fix and resend v3.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
2017-05-12 9:07 ` Greg KH
@ 2017-05-12 9:43 ` Riccardo Marotti
0 siblings, 0 replies; 3+ messages in thread
From: Riccardo Marotti @ 2017-05-12 9:43 UTC (permalink / raw)
To: Greg KH; +Cc: devel, linux-kernel
On 05/12/2017 11:07 AM, Greg KH wrote:
> On Sun, May 07, 2017 at 11:01:07AM +0200, Riccardo Marotti wrote:
>> 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(-)
>
> What changed from v1? Always put that info below the --- line.
>
> Please fix and resend v3.
Done!
Thanks for your patience,
Riccardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-12 9:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-07 9:01 [PATCH v2] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue Riccardo Marotti
2017-05-12 9:07 ` Greg KH
2017-05-12 9:43 ` Riccardo Marotti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®