From patchwork Thu Mar 17 18:40:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 8613901 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E75B4C0553 for ; Thu, 17 Mar 2016 18:41:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2BA6F2022A for ; Thu, 17 Mar 2016 18:41:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A4B472021B for ; Thu, 17 Mar 2016 18:41:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031521AbcCQSlY (ORCPT ); Thu, 17 Mar 2016 14:41:24 -0400 Received: from mail-ob0-f194.google.com ([209.85.214.194]:33400 "EHLO mail-ob0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031482AbcCQSlT (ORCPT ); Thu, 17 Mar 2016 14:41:19 -0400 Received: by mail-ob0-f194.google.com with SMTP id z10so5779555obg.0 for ; Thu, 17 Mar 2016 11:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ibf6tkx4ClfP+PAkqjnwhLMoSzteYzF8fxHPd80hURM=; b=II4sHMg22u8Mbqz8argka66YXCZianjAbi+B9rmRtwq/FIu+hI/o300m/JqG+fi8RL XMBvzp7amIfydXJUIxlMAq4KbckeYhbv003R6zLNRXuH/Y7DcFSqukGOhy3MLaccGXYf vpM09S5dMEKjQMSUJUQrAbtgDOmReAeOPdugXeJBoON7mhhuJyLxtzI1mFrgfxBrgfFe CKaneaWgQpm1+JkGCGDyS31QKriz+VrPwgm/io1dv1bGGtAF95OlsdCahdQbeCZujYzn tbtMzjxMa3bwenSMjh1wQlBO8xaennzpTqFMcHBi3x0gU8Bk9xMtp+pLOtogUqYJPVU8 SpkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ibf6tkx4ClfP+PAkqjnwhLMoSzteYzF8fxHPd80hURM=; b=dv8QHdSBlv7F0YCoQp4et/dgiyvCbZ0BzDoW/pqbnJWfq6SYy4dn29r4VtFaWtECYU gj44MORJ1LgIvQPVQfVnIO7sN40QwfmwPqgNuKTueimARaVJ0Tk4plyVtSrAtYFxAs+I 2eswNgN1cVsaUERpc/lCY3S8kD75IipVNv0cWqHg8ME8lframYdLSRoNZOX4X5a3nZCl 6fyghK7YJfILRl3sdEXQdFH0aYVe6DdanbDEfKdb/oHbxWqbVUW4V6KftBfOWasqqObs 7TjVvZZSD44gPh7hdQbfPhoFHFGpbPClZs9D8sD5//diM3LFAz/WchBo+tUbib7j0nD7 aUhw== X-Gm-Message-State: AD7BkJJoiFqX/Rf6kITNEiJdKHwJb7/U5+m4id9WkiPlNwpalLfopE8KLX2J6x9bb2MzXw== X-Received: by 10.60.39.194 with SMTP id r2mr7547372oek.69.1458240078478; Thu, 17 Mar 2016 11:41:18 -0700 (PDT) Received: from linux.site (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id n5sm4221436obi.20.2016.03.17.11.41.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Mar 2016 11:41:17 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger Subject: [PATCH 4/9] rtlwifi: rtl8192c-common: Fix Smatch warning Date: Thu, 17 Mar 2016 13:40:59 -0500 Message-Id: <1458240064-31422-5-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458240064-31422-1-git-send-email-Larry.Finger@lwfinger.net> References: <1458240064-31422-1-git-send-email-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY, URIBL_BLACK autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Smatch lists the following: CHECK drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c:243 rtl92c_dm_false_alarm_counter_statistics() warn: inconsistent indenting Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c index 03cbe4c..316be5f 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c @@ -240,7 +240,7 @@ static void rtl92c_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER3, MASKDWORD); falsealm_cnt->cnt_mcs_fail = (ret_value & 0xffff); - ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, MASKDWORD); + ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, MASKDWORD); falsealm_cnt->cnt_fast_fsync_fail = (ret_value & 0xffff); falsealm_cnt->cnt_sb_search_fail = ((ret_value & 0xffff0000) >> 16);