Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1961289pxj; Sun, 16 May 2021 09:34:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbUj8sv3ox8pPeXai50jTGNkBrBAqjDMRulL/I+nurcXafDB0tDeAfevJUSJLRv2V8Td3N X-Received: by 2002:a05:6638:76d:: with SMTP id y13mr8896594jad.25.1621182865000; Sun, 16 May 2021 09:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621182864; cv=none; d=google.com; s=arc-20160816; b=xvkQC0ZWrbAG7i092Wyy+vNT638U7IIkVD03eZ6XK50c8Ntff7HcjyGA9olOPpxjFf 4ft2/zYbS+d5pPZIAnyDRUz2UVSt1jWUg7xmGehTqzI0jV05DrJ1hBeuV7SitcZcKkqt MG5OGtJ1Ji7taKELd91PCJ5JFiERDjjVuM3vgv8SsTWWsqH1qEk43t+kgtxltHqVWcfJ aO2nSUdAvAnBl+gkT3IjgEvyccKZn/ov04diIuvDKvqGSTZnBQkXWwrBGktwhdxMFh86 Qjox6zB2IaKhSkq826BZov9RCW+WoKx1Z5zkA3M6tq7CdnlUW19ZhDEsZkk5ZV3Pmiso wdeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I6WhL1PpTCyWACZgwSEwTO4odDW7Vfe+3XlFCiuIyHg=; b=S0trFNenhlS+IZBw+n/+Kj/lbYq7iumql7wtlK+gHB6PfRlXGpWotgCJb5XM+g6BG4 ey237QYsL4cNeEugWWOT7wKr94OO4Le0NEpM2TT+8e6XYw3vVh4y3j13x6cH/n1AbMf5 BcWTcVpiQIiXqAOi7VIjfeSI/g7iHq2LqnhJ/DlLdju2EsUiMFANm43kTD64r0h5U9d0 XIrTSyTDOuituyPhrGb4iDK/sBEK8NowfDfoPHepMPSm3fuKGS4ZswEuo6XrJq3Amb45 Mh1afAtAOaLP/3Is+zJnamsIPgnJbFegvRzaNBOgClnlrdM0+4fiM051wvSXsvdOoGFQ 4dzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Itrqwyv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si15936052ilv.74.2021.05.16.09.34.12; Sun, 16 May 2021 09:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Itrqwyv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232919AbhEPMbw (ORCPT + 99 others); Sun, 16 May 2021 08:31:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbhEPMbv (ORCPT ); Sun, 16 May 2021 08:31:51 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71D07C061573 for ; Sun, 16 May 2021 05:30:37 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id gc22-20020a17090b3116b02901558435aec1so2243386pjb.4 for ; Sun, 16 May 2021 05:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I6WhL1PpTCyWACZgwSEwTO4odDW7Vfe+3XlFCiuIyHg=; b=Itrqwyv9Q1NKvkvTocagH9e2hB520j0pJ1FyNmOBE0NzIZlB1W+of/x9pap6N07dOB bsxMulGPIeDKDXw3VajxKof6zyNoaqyijoQrL+lOn3PHogn3WrgiZ2OG8Cd6rHdrR8WG XLbVItMeN2ZPxOgqlekn4AfVJpbrOkZqWtcW/Ghn3NKTCQnbvMANHKnWuk77KLR2dWNO K551e43oRgygXTIUGeEWmSXUdxRGT7IsOY/w1n+Ps+Tp17XgDtfjEND96Lbgaq07NQIQ LIX4Kdkur0wQsBCA6kzQ2DoXKsZyk0XDf39FvK6VeiJde06bcqJIHFPuA6eqKDoolYEG iVYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I6WhL1PpTCyWACZgwSEwTO4odDW7Vfe+3XlFCiuIyHg=; b=F0muesgJ9Hl/JdQbXhCFdv8PrF1bXUIbB4eieo6eJT/II2GV9HsQ6RRpBdZJAcQ07z +0NwqphMG1Dy0yNV0fnCynhgt7qpotAflE4DfmIND6g7/mXVPE9SRTQk1w0dnkL/4830 w1bRLcxlhia8fhhrTMNHTqEZpsujRxRQaUGY8rqq/iUvHDsXcuV4ZI409hCnOiJNzUtx tCuRARzMHvYaEgnbAIXLwt0pk90/yWBpDXV6z75nWrD1zOMWvBzWlxK9QHJt13+fpPzj xzzxxA5YnXv7RD7B7/EIc2Pcn0sjI8YJqQ2wAbjobTofgq/5rB+gt64K6zgqVwN6dBJq Cacg== X-Gm-Message-State: AOAM533+scUe00vJr8UYRA77dzXHN1bLEr8tv90N9Pv1dDbs1IqXJbA/ ZxPm6Q+/DIj/E2FJ0kz9vcQ= X-Received: by 2002:a17:90a:d909:: with SMTP id c9mr12647509pjv.190.1621168237068; Sun, 16 May 2021 05:30:37 -0700 (PDT) Received: from localhost.localdomain ([111.223.96.126]) by smtp.gmail.com with ESMTPSA id k186sm8004318pgk.82.2021.05.16.05.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 05:30:36 -0700 (PDT) From: Desmond Cheong Zhi Xi To: gregkh@linuxfoundation.org, marcocesati@gmail.com, dan.carpenter@oracle.com, fabioaiuto83@gmail.com, fmdefrancesco@gmail.com, eantoranz@gmail.com, hdegoede@redhat.com, Larry.Finger@lwfinger.net Cc: Desmond Cheong Zhi Xi , skhan@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH 2/7] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c Date: Sun, 16 May 2021 08:29:22 -0400 Message-Id: <20210516122927.1132356-3-desmondcheongzx@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210516122927.1132356-1-desmondcheongzx@gmail.com> References: <20210516122927.1132356-1-desmondcheongzx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit fixes the following checkpatch.pl errors: WARNING: please, no space before tabs +^I/* ^IRx Aggregation related setting */$ WARNING: please, no space before tabs +^Iu8 ^IH2C_Parameter[1] = {0};$ WARNING: please, no space before tabs +^Iu8 ^IH2C_Parameter[6] = {0};$ WARNING: please, no space before tabs +^I/* u32 ^I^IfwVer = 0; */$ WARNING: please, no space before tabs +/* ^ISoftware Coex Mechanism start */$ WARNING: please, no space before tabs +/* ^INon-Software Coex Mechanism start */$ WARNING: please, no space before tabs +^I/* ^IBIT0: "0" for no antenna inverse; "1" for antenna inverse */$ WARNING: please, no space before tabs +^I/* ^IBIT1: "0" for internal switch; "1" for external switch */$ WARNING: please, no space before tabs +^I/* ^IBIT2: "0" for one antenna; "1" for two antenna */$ Signed-off-by: Desmond Cheong Zhi Xi --- .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c index 85bf45cabecd..49f37aa16cc4 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c +++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c @@ -231,7 +231,7 @@ static void halbtc8723b1ant_LimitedRx( u8 rxAggSize = aggBufSize; /* */ - /* Rx Aggregation related setting */ + /* Rx Aggregation related setting */ /* */ pBtCoexist->fBtcSet( pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg @@ -250,7 +250,7 @@ static void halbtc8723b1ant_LimitedRx( static void halbtc8723b1ant_QueryBtInfo(struct btc_coexist *pBtCoexist) { - u8 H2C_Parameter[1] = {0}; + u8 H2C_Parameter[1] = {0}; pCoexSta->bC2hBtInfoReqSent = true; @@ -606,7 +606,7 @@ static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive( struct btc_coexist *pBtCoexist, bool bLowPenaltyRa ) { - u8 H2C_Parameter[6] = {0}; + u8 H2C_Parameter[6] = {0}; H2C_Parameter[0] = 0x6; /* opCode, 0x6 = Retry_Penalty */ @@ -1038,7 +1038,7 @@ static void halbtc8723b1ant_PsTdma( u8 rssiAdjustVal = 0; u8 psTdmaByte4Val = 0x50, psTdmaByte0Val = 0x51, psTdmaByte3Val = 0x10; s8 nWiFiDurationAdjust = 0x0; - /* u32 fwVer = 0; */ + /* u32 fwVer = 0; */ pCoexDm->bCurPsTdmaOn = bTurnOn; pCoexDm->curPsTdma = type; @@ -1575,13 +1575,13 @@ static void halbtc8723b1ant_PowerSaveState( /* */ /* */ -/* Software Coex Mechanism start */ +/* Software Coex Mechanism start */ /* */ /* */ /* */ /* */ -/* Non-Software Coex Mechanism start */ +/* Non-Software Coex Mechanism start */ /* */ /* */ static void halbtc8723b1ant_ActionWifiMultiPort(struct btc_coexist *pBtCoexist) @@ -2166,9 +2166,9 @@ void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist) /* */ /* S0 or S1 setting and Local register setting(By the setting fw can get ant number, S0/S1, ... info) */ /* Local setting bit define */ - /* BIT0: "0" for no antenna inverse; "1" for antenna inverse */ - /* BIT1: "0" for internal switch; "1" for external switch */ - /* BIT2: "0" for one antenna; "1" for two antenna */ + /* BIT0: "0" for no antenna inverse; "1" for antenna inverse */ + /* BIT1: "0" for internal switch; "1" for external switch */ + /* BIT2: "0" for one antenna; "1" for two antenna */ /* NOTE: here default all internal switch and 1-antenna ==> BIT1 = 0 and BIT2 = 0 */ if (pBtCoexist->chipInterface == BTC_INTF_USB) { /* fixed at S0 for USB interface */ -- 2.25.1