Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1398828pxb; Wed, 2 Feb 2022 04:12:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHG9fUteEQIV3XfqMRRGPPIxiby9fmD3nYn5iGusYZU9jLOFQ3KnKjTjzBviOqw4GnN6b1 X-Received: by 2002:a63:6a06:: with SMTP id f6mr15774771pgc.576.1643803957617; Wed, 02 Feb 2022 04:12:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643803957; cv=none; d=google.com; s=arc-20160816; b=UjkveSIU/+PBStsm221rnfW2MqUn98Yd5YLMNC8PgKaK/IQSWBZFguby2v4S8Fgt6P 70ioprYdCROUoPD4y0rCi6Tn5zxETnGHTL2fZEwfDTG78K/DYUN78BK6kfus63UwFIxO rX3561/mp+r7qaPAn8rW/NneXATkhzetM8apVk774u1ulosJh4My4H6PPVGq7jxm/gpl dJ9csNPQ1GbgeaoeLUm343KhfQEnzjudeqY8DJJEPI2D/0JTJ4K6E4zLquEWvT/VcgV5 T53gG8wUwDncDORF3oCQxRBEuvHpKhV34NcCrk/3S1lCFDKGOuLrnFVvTxv5z/Yv4IBT I3XA== 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 :message-id:date:subject:cc:to:from; bh=cd4cM2fEAfs1qVSBp+3iMvf4k2S2rrrjPqWiYNUQSZA=; b=SsNQRmbD2bbZ8XTBz/vVm86iZU0ATVXBbbjlCwrNdeoK8qbcs66FidBZKNizgLSBR4 zz2WoRilNF/c7hjut48QC6mHQedGo8aV3lnQBSrVo+LHPmgL8xW2wTvZF2xX9HqtW9Oj 6IiRFCBM/E+UzC6drB5PCe4hOw+0xb5HKHldy1AICbceFSmwGddrQLvVX+n2z1PbIbst /Id1M1V5s0il4xRLFGoqC0XFSVDziPPu2yn38i9RYjGy3oEfdBQErmPiTmdUzFz29VXW Aoh4yintMzX2uyLjd1qn3eWfj5xHqPGEUCK55qKTerM4/Xe18g2xllpxMvtOu3yDITvj l3xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9si15223045pfi.200.2022.02.02.04.12.25; Wed, 02 Feb 2022 04:12:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233194AbiBAEPx (ORCPT + 65 others); Mon, 31 Jan 2022 23:15:53 -0500 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:33452 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230125AbiBAEPx (ORCPT ); Mon, 31 Jan 2022 23:15:53 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R611e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0V3MiBa9_1643688950; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V3MiBa9_1643688950) by smtp.aliyun-inc.com(127.0.0.1); Tue, 01 Feb 2022 12:15:50 +0800 From: Yang Li To: davem@davemloft.net Cc: kuba@kernel.org, kvalo@kernel.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] wcn36xx: clean up some inconsistent indenting Date: Tue, 1 Feb 2022 12:15:48 +0800 Message-Id: <20220201041548.18464-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Eliminate the follow smatch warnings: drivers/net/wireless/ath/wcn36xx/main.c:1394 wcn36xx_get_survey() warn: inconsistent indenting drivers/net/wireless/ath/wcn36xx/txrx.c:379 wcn36xx_rx_skb() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/net/wireless/ath/wcn36xx/main.c | 10 +++++----- drivers/net/wireless/ath/wcn36xx/txrx.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 75661d449712..0cb5f1a9532a 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -1391,11 +1391,11 @@ static int wcn36xx_get_survey(struct ieee80211_hw *hw, int idx, spin_unlock_irqrestore(&wcn->survey_lock, flags); - wcn36xx_dbg(WCN36XX_DBG_MAC, - "ch %d rssi %d snr %d noise %d filled %x freq %d\n", - HW_VALUE_CHANNEL(survey->channel->hw_value), - chan_survey->rssi, chan_survey->snr, survey->noise, - survey->filled, survey->channel->center_freq); + wcn36xx_dbg(WCN36XX_DBG_MAC, + "ch %d rssi %d snr %d noise %d filled %x freq %d\n", + HW_VALUE_CHANNEL(survey->channel->hw_value), + chan_survey->rssi, chan_survey->snr, survey->noise, + survey->filled, survey->channel->center_freq); return 0; } diff --git a/drivers/net/wireless/ath/wcn36xx/txrx.c b/drivers/net/wireless/ath/wcn36xx/txrx.c index c04983718d02..df749b114568 100644 --- a/drivers/net/wireless/ath/wcn36xx/txrx.c +++ b/drivers/net/wireless/ath/wcn36xx/txrx.c @@ -376,8 +376,8 @@ int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb) status.freq = WCN36XX_CENTER_FREQ(wcn); } - wcn36xx_update_survey(wcn, status.signal, get_snr(bd), - status.band, status.freq); + wcn36xx_update_survey(wcn, status.signal, get_snr(bd), + status.band, status.freq); if (bd->rate_id < ARRAY_SIZE(wcn36xx_rate_table)) { rate = &wcn36xx_rate_table[bd->rate_id]; -- 2.20.1.7.g153144c