From patchwork Thu Mar 17 18:41:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 8613921 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 0E7CEC0553 for ; Thu, 17 Mar 2016 18:41:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 333272021B for ; Thu, 17 Mar 2016 18:41:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A5172022A for ; Thu, 17 Mar 2016 18:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031529AbcCQSl1 (ORCPT ); Thu, 17 Mar 2016 14:41:27 -0400 Received: from mail-ob0-f196.google.com ([209.85.214.196]:33410 "EHLO mail-ob0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031512AbcCQSlV (ORCPT ); Thu, 17 Mar 2016 14:41:21 -0400 Received: by mail-ob0-f196.google.com with SMTP id z10so5779647obg.0 for ; Thu, 17 Mar 2016 11:41:21 -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=0aK3HcvFYsYb1PjrwQYSknM1FCCS212aDicvR6dgrHY=; b=xINhGXlmpGNxY6ZSdrLyrd0XV3hqmWiuNaRPDVhNcG0IlzE05HYZcLBqfl1Y89Bk3q e/BpuM3WVSKBAzmI9hQAS9bJOPgceYwI5tNXh9DkRueh1b78JTDrk32DOV2CMDkpZsEN X4vDqNLUTwVUGdkhL4Q1RLknvoPx5W1z24g9WiHC6XPKe9/Gb5P4k0IoNtJEA6zY40wr IV/Yjt395Znm5yxhAzejys14X1ZZllqFeo+2a/G5uOgEbLWWHLNjbt1Qg2CLnE9OaNli c2pdpu/9g/LnAii70JDvgRsaSL+ZHFgSPlJSy1UNZRJeS4Uqw9OjbUTdGYtm3Q3TKmLs Lx4g== 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=0aK3HcvFYsYb1PjrwQYSknM1FCCS212aDicvR6dgrHY=; b=dKVuiIR/FLn/hJXLlbwjBPDMkMKMOZcYe74ZcdkOp6U2LrO/6yqrXavXy+ri9mGu93 n1LnKPisCoiPyVcM3EcxPXegxgYOvpl0MsmWlA15mwmP6WvVx+e1IXQZurFzFOFFf+Rd AeGVAiOJvtHKewwg7hsX7fHnEFYR8xAsuvf13tHNyug0mRiiySTGwtmJotg5D8LVgg/y VenP6EyST+BO7durbJFEUCTcEKo5uCUlTWfN8wzuV2iKp8iE2q7sXhkZ4VJCU4sgFsln 14SG+4NwU5gDRXlh6MbkK3zDkl4asAwBTG+v8GY5hVzQidQqp/3ZtaDs9DU3IB4FLOoc k+BQ== X-Gm-Message-State: AD7BkJIkiI9+yTb0FsIANbJ+GLStb5fvHbU1yhI1xoLBGRzahKYY5sfCAO1Sglan/iG9JA== X-Received: by 10.182.60.198 with SMTP id j6mr7639676obr.12.1458240081121; Thu, 17 Mar 2016 11:41:21 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Mar 2016 11:41:20 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger Subject: [PATCH 7/9] rtlwifi: rtl8723ae: Fix Smatch warning Date: Thu, 17 Mar 2016 13:41:02 -0500 Message-Id: <1458240064-31422-8-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 reports the following: CHECK drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c:137 rtl8723e_dm_bt_need_to_dec_bt_pwr() warn: inconsistent indenting Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c index 00a0531..44de695 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c @@ -134,9 +134,9 @@ static bool rtl8723e_dm_bt_need_to_dec_bt_pwr(struct ieee80211_hw *hw) if (mgnt_link_status_query(hw) == RT_MEDIA_CONNECT) { RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_DMESG, "Need to decrease bt power\n"); - rtlpriv->btcoexist.cstate |= - BT_COEX_STATE_DEC_BT_POWER; - return true; + rtlpriv->btcoexist.cstate |= + BT_COEX_STATE_DEC_BT_POWER; + return true; } rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER;