From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751473AbbFNEjv (ORCPT ); Sun, 14 Jun 2015 00:39:51 -0400 Received: from mail-db3on0136.outbound.protection.outlook.com ([157.55.234.136]:53486 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750845AbbFNEjn convert rfc822-to-8bit (ORCPT ); Sun, 14 Jun 2015 00:39:43 -0400 From: "Joglekar, Tejas (T.)" To: "Larry.Finger@lwfinger.net" , "Jes.Sorensen@redhat.com" , "gregkh@linuxfoundation.org" , "gdonald@gmail.com" , "aybuke.147@gmail.com" , "roberta.dobrescu@gmail.com" , "dilekuzulmez@gmail.com" , "ruchandani.tina@gmail.com" , "joe@perches.com" , "mp.gaman@gmail.com" CC: "linux-wireless@vger.kernel.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] staging:rtl8723au:rtw_ap:space prohibited between function name & '(' Thread-Topic: [PATCH] staging:rtl8723au:rtw_ap:space prohibited between function name & '(' Thread-Index: AQHQplokjS/XWX4uf0qOtOJHeO+7IA== Date: Sun, 14 Jun 2015 04:25:28 +0000 Message-ID: <20150614042523.GA7431@Tejas-asus> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lwfinger.net; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [49.248.198.178] x-microsoft-exchange-diagnostics: 1;AM2PR06MB0611;3:D5Um/jRNNxQ3YaaiNKbF5stjexoGFu83DKvXWIDJUeysLTuqO98nOkZ/LCPvfYqJzhstb+whmBlr4wpWb0yDPpOT99xAwTXQ3yZCakh11NwkP4LyoeWxqMEn4enMnTLNJE0FXBF7mH5xQgFU1mVRzw==;10:brPs3zohOeZuwMxtr0nCL1kxtyus6onZx7ezaaIwWnBc/xQlQz9ovnG5aYW9YWUTYnlggxoLXdu649J00Dg6knfd55587JLn05lU9OysMIU=;6:T/SrCsX3aDGMq62I6EGN4l0/Y2YoT6JYZ6P3Lq4OxOyjZyo1ha7B1z8AHTGR2/i+ x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR06MB0611; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:AM2PR06MB0611;BCL:0;PCL:0;RULEID:;SRVR:AM2PR06MB0611; x-forefront-prvs: 06070568C5 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(77096005)(5001770100001)(106116001)(66066001)(102836002)(2900100001)(2860100001)(122556002)(87936001)(2656002)(62966003)(77156002)(86362001)(33716001)(40100003)(33656002)(2201001)(54356999)(19580405001)(19580395003)(2501003)(92566002)(229853001)(50986999)(5001960100002)(5001920100001)(189998001)(46102003)(5002640100001)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:AM2PR06MB0611;H:AM2PR06MB0609.eurprd06.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <34484A79F435454585759123AACD22C6@eurprd06.prod.outlook.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2015 04:25:28.7090 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR06MB0611 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joglekar Tejas This patch removes the warning "space prohibited between function name and open parenthesis"given by checkpatch.pl Signed-off-by: Joglekar Tejas --- drivers/staging/rtl8723au/core/rtw_ap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c index 6456689..65b209a 100644 --- a/drivers/staging/rtl8723au/core/rtw_ap.c +++ b/drivers/staging/rtl8723au/core/rtw_ap.c @@ -1642,7 +1642,7 @@ u8 ap_free_sta23a(struct rtw_adapter *padapter, struct sta_info *psta, bool acti return beacon_updated; } -int rtw_ap_inform_ch_switch23a (struct rtw_adapter *padapter, u8 new_ch, u8 ch_offset) +int rtw_ap_inform_ch_switch23a(struct rtw_adapter *padapter, u8 new_ch, u8 ch_offset) { struct list_head *phead, *plist; struct sta_info *psta = NULL; @@ -1663,12 +1663,12 @@ int rtw_ap_inform_ch_switch23a (struct rtw_adapter *padapter, u8 new_ch, u8 ch_o list_for_each(plist, phead) { psta = container_of(plist, struct sta_info, asoc_list); - issue_action_spct_ch_switch23a (padapter, psta->hwaddr, new_ch, ch_offset); + issue_action_spct_ch_switch23a(padapter, psta->hwaddr, new_ch, ch_offset); psta->expire_to = ((pstapriv->expire_to * 2) > 5) ? 5 : (pstapriv->expire_to * 2); } spin_unlock_bh(&pstapriv->asoc_list_lock); - issue_action_spct_ch_switch23a (padapter, bc_addr, new_ch, ch_offset); + issue_action_spct_ch_switch23a(padapter, bc_addr, new_ch, ch_offset); return 0; } @@ -1871,7 +1871,7 @@ void stop_ap_mode23a(struct rtw_adapter *padapter) pmlmeext->bstart_bss = false; /* reset and init security priv , this can refine with rtw_reset_securitypriv23a */ - memset((unsigned char *)&padapter->securitypriv, 0, sizeof (struct security_priv)); + memset((unsigned char *)&padapter->securitypriv, 0, sizeof(struct security_priv)); padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; -- 1.9.1