From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752243AbdEGXG2 (ORCPT ); Sun, 7 May 2017 19:06:28 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34568 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751088AbdEGXG1 (ORCPT ); Sun, 7 May 2017 19:06:27 -0400 Subject: Re: [PATCH] Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20170507064750.3524-1-riccardo.marotti@gmail.com> From: Riccardo Marotti Message-ID: <1361b10b-2ba0-13db-8d27-3d31b38ea789@gmail.com> Date: Sun, 7 May 2017 10:49:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170507064750.3524-1-riccardo.marotti@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/2017 08:47 AM, Riccardo Marotti wrote: > From: Riccardo > > Fixed a brace coding style issue, found via checkpatch. > > Signed-off-by: Riccardo Marotti > --- > 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...