From nobody Wed Apr 8 06:42:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98CD2C433FE for ; Sun, 23 Oct 2022 09:44:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230122AbiJWJoj (ORCPT ); Sun, 23 Oct 2022 05:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230084AbiJWJod (ORCPT ); Sun, 23 Oct 2022 05:44:33 -0400 Received: from sender4-pp-o95.zoho.com (sender4-pp-o95.zoho.com [136.143.188.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 250A5108C for ; Sun, 23 Oct 2022 02:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666518267; cv=none; d=zohomail.com; s=zohoarc; b=U9yM/xor+LnssQ5D2NBqun5ciy82ab08Z20shnq0Zqn+IsVgz6qbrFjQ1SGbA3J/VOprqrphfLaLyCy5kCk40rvt0npH92XKIA2dA8+8azXREr0/1s1iOglYyEX5vRvbQGCzBYefygutE6x1kltuAvhiENrdWRhPg3W7uxGwWWI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666518267; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YWKbAKT1gVY1R5yLoPK5Mf7VaOqbYrwA8RATTU//hyc=; b=eloV8bcN67p9ohcuqYeZ2mzpPX0ZfsKYxxMPUXH9dzutJiaLzG/nQEFbfnDP2me3eQip62BHhP0ESHtqYy5IS3mTQ0oUYoG1H8ltOJp6Ogp5rH60QjQvuQHB2WX84wfINx7YrBO827mhjfziiCq2jYYJ/ob8DV2VXiK7czi9sWc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=t4rmin@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1666518267; s=zm2022; d=zohomail.com; i=t4rmin@zohomail.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=YWKbAKT1gVY1R5yLoPK5Mf7VaOqbYrwA8RATTU//hyc=; b=YVMetxVF4u27nY2ZxEgDq21dcHcr0oLt+cuup1vyEgFx1pThgmwD8UDQcfl2atbv /SuR5nWrVLFO43qAWiDNvrKqDB2XAjvVMToPRomGMFzo/+kZEWYMwPi9G56c+W0TIcH mmWeiFYQgI78UpeWEMKLrXzEAa1cKKvJqtpA1qnI= Received: from plymouth (101.128.127.165 [101.128.127.165]) by mx.zohomail.com with SMTPS id 1666518265744813.2213123880294; Sun, 23 Oct 2022 02:44:25 -0700 (PDT) Date: Sun, 23 Oct 2022 16:44:13 +0700 From: Aaron Lawrence To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] Staging: rtl8192e: rtl819x_HTProc: fixed alignment matching open parenthesis Message-ID: <98c9e764a4447ab550e5615c48f6a98bf6656b0d.1666502177.git.t4rmin@zohomail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Aligned multiple statements to match open parenthesis as per Linux kernel coding-style regulations. The issues were flagged by the checkpatch script. Signed-off-by: Aaron Lawrence --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 25 ++++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index b763cf0ba356..a701be8c2923 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -152,8 +152,8 @@ bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) (net->ralink_cap_exist)) retValue =3D true; else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || - !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || - !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || + !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || + !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || (net->broadcom_cap_exist)) retValue =3D true; else if (net->bssht.bd_rt2rt_aggregation) @@ -540,7 +540,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) pPeerHTCap, sizeof(struct ht_capab_ele)); #endif HTSetConnectBwMode(ieee, (enum ht_channel_width)(pPeerHTCap->ChlWidth), - (enum ht_extchnl_offset)(pPeerHTInfo->ExtChlOffset)); + (enum ht_extchnl_offset)(pPeerHTInfo->ExtChlOffset)); pHTInfo->cur_tx_bw40mhz =3D ((pPeerHTInfo->RecommemdedTxWidth =3D=3D 1) ? true : false); =20 @@ -566,9 +566,9 @@ void HTOnAssocRsp(struct rtllib_device *ieee) =20 pHTInfo->bCurrentAMPDUEnable =3D pHTInfo->bAMPDUEnable; if (ieee->rtllib_ap_sec_type && - (ieee->rtllib_ap_sec_type(ieee) & (SEC_ALG_WEP | SEC_ALG_TKIP))) { + (ieee->rtllib_ap_sec_type(ieee) & (SEC_ALG_WEP | SEC_ALG_TKIP))) { if ((pHTInfo->IOTPeer =3D=3D HT_IOT_PEER_ATHEROS) || - (pHTInfo->IOTPeer =3D=3D HT_IOT_PEER_UNKNOWN)) + (pHTInfo->IOTPeer =3D=3D HT_IOT_PEER_UNKNOWN)) pHTInfo->bCurrentAMPDUEnable =3D false; } =20 @@ -617,7 +617,8 @@ void HTOnAssocRsp(struct rtllib_device *ieee) else pMcsFilter =3D MCS_FILTER_ALL; ieee->HTHighestOperaRate =3D HTGetHighestMCSRate(ieee, - ieee->dot11HTOperationalRateSet, pMcsFilter); + ieee->dot11HTOperationalRateSet, + pMcsFilter); ieee->HTCurrentOperaRate =3D ieee->HTHighestOperaRate; =20 pHTInfo->current_op_mode =3D pPeerHTInfo->OptMode; @@ -644,13 +645,13 @@ void HTInitializeHTInfo(struct rtllib_device *ieee) pHTInfo->CurrentAMPDUFactor =3D pHTInfo->AMPDU_Factor; =20 memset((void *)(&(pHTInfo->SelfHTCap)), 0, - sizeof(pHTInfo->SelfHTCap)); + sizeof(pHTInfo->SelfHTCap)); memset((void *)(&(pHTInfo->SelfHTInfo)), 0, - sizeof(pHTInfo->SelfHTInfo)); + sizeof(pHTInfo->SelfHTInfo)); memset((void *)(&(pHTInfo->PeerHTCapBuf)), 0, - sizeof(pHTInfo->PeerHTCapBuf)); + sizeof(pHTInfo->PeerHTCapBuf)); memset((void *)(&(pHTInfo->PeerHTInfoBuf)), 0, - sizeof(pHTInfo->PeerHTInfoBuf)); + sizeof(pHTInfo->PeerHTInfoBuf)); =20 pHTInfo->sw_bw_in_progress =3D false; =20 @@ -803,8 +804,8 @@ void HTUseDefaultSetting(struct rtllib_device *ieee) HTFilterMCSRate(ieee, ieee->Regdot11TxHTOperationalRateSet, ieee->dot11HTOperationalRateSet); ieee->HTHighestOperaRate =3D HTGetHighestMCSRate(ieee, - ieee->dot11HTOperationalRateSet, - MCS_FILTER_ALL); + ieee->dot11HTOperationalRateSet, + MCS_FILTER_ALL); ieee->HTCurrentOperaRate =3D ieee->HTHighestOperaRate; =20 } else { --=20 2.38.1