Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1637139
| From | Riccardo Marotti <riccardo.marotti@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue |
| Date | 2017-05-08 01:10 +0200 |
| Message-ID | <tEDto-46D-9@gated-at.bofh.it> (permalink) |
| References | <tEDto-46D-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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...
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue Riccardo Marotti <riccardo.marotti@gmail.com> - 2017-05-08 01:10 +0200
csiph-web