Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5305668rwi; Sun, 23 Oct 2022 03:56:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MvWiwXIJK9drEfUoZjCHVtq+jHUcerPbAH6voVd4qi4QNtNxmrldZqNFtqtCrXF7nCLfA X-Received: by 2002:a63:1326:0:b0:439:40b5:77cc with SMTP id i38-20020a631326000000b0043940b577ccmr24339528pgl.473.1666522590767; Sun, 23 Oct 2022 03:56:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666522590; cv=pass; d=google.com; s=arc-20160816; b=gLX6RoMYmDFD+OitFvAzogcA1mXcmGj548UKuy7A6X8CEOt6fR+oqAXAbpA16BIxn7 6DUm8ZEpE2oo7zkhKW6QaAr4GNLxODwfm442iQe20gSKXVXiuUf1jwrUiH3YWNMffHY+ /0wYY8LcqXA4hArh8UP0cDGBHfdGYw7RVmN50t8t24E/d8i89CXq7z9cSoNJFzEhtz3b 43wux4w9972+JzW7VZJ3/pVZljuP1zMPvp0MfJ9PjlLp9Uqv4fTAKD9sAbko8dYUZetX MK6e39hr5dMd1SLgHX9jCQxIYi8TGH6ukL9DPgK8Ab4qMNVPrm24ttplwV95NvLzMEmZ ilNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YWKbAKT1gVY1R5yLoPK5Mf7VaOqbYrwA8RATTU//hyc=; b=AFqGQNG18O27oKWp4HTNITNP2JpERZgyLXPICtEeSuj2qhGuOXQzdi+a2DDdhg5aOX 0A3brBjcOqLc7a8Yoknots5/rq7LByMj6YZGfE/zx6If7deMFu1VhV71e46yqSPpZrVV P6gRTHTJ5ch98y+2RcNTLP/j7FUjGg5tVdEbV4MQB3msxfkSiDMH4cxZMRQkuskLC000 XiG/2Wng1GpiKnNnjLj/dqSnwDtzRZamVGZvJuc95HHm9FWaRAGr2m0LGy2ZhDAvmmkU 5gUA+RsPA1++C9+AgrSKuLwem10g0Ge5sb6fVyJR/q9MmXrh+ZNsN8JbO8WQLi5D7F4s GUfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=YVMetxVF; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a63134d000000b0045cfaf0bad5si8092746pgt.476.2022.10.23.03.56.17; Sun, 23 Oct 2022 03:56:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=YVMetxVF; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229960AbiJWJoi (ORCPT + 99 others); Sun, 23 Oct 2022 05:44:38 -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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/rtl8192e/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 = 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 = 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 = ((pPeerHTInfo->RecommemdedTxWidth == 1) ? true : false); @@ -566,9 +566,9 @@ void HTOnAssocRsp(struct rtllib_device *ieee) pHTInfo->bCurrentAMPDUEnable = 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 == HT_IOT_PEER_ATHEROS) || - (pHTInfo->IOTPeer == HT_IOT_PEER_UNKNOWN)) + (pHTInfo->IOTPeer == HT_IOT_PEER_UNKNOWN)) pHTInfo->bCurrentAMPDUEnable = false; } @@ -617,7 +617,8 @@ void HTOnAssocRsp(struct rtllib_device *ieee) else pMcsFilter = MCS_FILTER_ALL; ieee->HTHighestOperaRate = HTGetHighestMCSRate(ieee, - ieee->dot11HTOperationalRateSet, pMcsFilter); + ieee->dot11HTOperationalRateSet, + pMcsFilter); ieee->HTCurrentOperaRate = ieee->HTHighestOperaRate; pHTInfo->current_op_mode = pPeerHTInfo->OptMode; @@ -644,13 +645,13 @@ void HTInitializeHTInfo(struct rtllib_device *ieee) pHTInfo->CurrentAMPDUFactor = pHTInfo->AMPDU_Factor; 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)); pHTInfo->sw_bw_in_progress = false; @@ -803,8 +804,8 @@ void HTUseDefaultSetting(struct rtllib_device *ieee) HTFilterMCSRate(ieee, ieee->Regdot11TxHTOperationalRateSet, ieee->dot11HTOperationalRateSet); ieee->HTHighestOperaRate = HTGetHighestMCSRate(ieee, - ieee->dot11HTOperationalRateSet, - MCS_FILTER_ALL); + ieee->dot11HTOperationalRateSet, + MCS_FILTER_ALL); ieee->HTCurrentOperaRate = ieee->HTHighestOperaRate; } else { -- 2.38.1