From patchwork Thu Mar 17 18:40:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 8613881 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 2FADEC0553 for ; Thu, 17 Mar 2016 18:41:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51C4520279 for ; Thu, 17 Mar 2016 18:41:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EB1920268 for ; Thu, 17 Mar 2016 18:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031495AbcCQSlU (ORCPT ); Thu, 17 Mar 2016 14:41:20 -0400 Received: from mail-ob0-f193.google.com ([209.85.214.193]:35945 "EHLO mail-ob0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966640AbcCQSlS (ORCPT ); Thu, 17 Mar 2016 14:41:18 -0400 Received: by mail-ob0-f193.google.com with SMTP id cf7so6685186obc.3 for ; Thu, 17 Mar 2016 11:41:17 -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=sKczcWoI60Jq9+oIsyNul+r66iQ6XiSEWiLJpqi+vPM=; b=NqF0ZjZoJti/LUdYQlx+EPxmPCM4JW+JOmUPKdvvYJXyeKOPX4U8cbmP7EzpPVbAv0 t/qJN+isB0rkGXkttq1xMLI/xfnPHxTatPuj3iLOOjGThyHYhfEmgGlTPR+Hjj35kf0O Ua7/eDn3JP0UjO7uVg8RW7UAv5+3s/fdUx086ho8O1JFbD8YZdxnFqP0XFCYX3oIlDNn +uwUNKaRvEl7nl0fZkjD9YCqBPzhsdU+WEdKI1OqrKSLq3Mex5MjWAQQcvTfxOkRwqNa HFSnY8Ps/xsBKryoxZSRty4mO+ZF1AIk+nnW+EDGXVrd1idCMUWLZmccjc9CxIpUyUFn 7ogg== 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=sKczcWoI60Jq9+oIsyNul+r66iQ6XiSEWiLJpqi+vPM=; b=fLIlQzMiBzuMQdQX65/f9QwJn/uQwWhSvTFtIpPQCf3yD+Tw/2qWsFZnhpeUCGqz7g FuSKvlURIL0d/KnkpqPQ7Ct3Y9De+qbjSNzc0ohWKlJDdS7CX/GzapdjmIhJQVI9kbwa XMqRuVDPbvU2qoIG3WQcOZEoWrwHZXVxYoxPhQJNVEs3O4fMyKp3/ypop1vdUQj6Qmo2 Ciyr5ofZc4b5DVIEbqO34ZC5J2u81nuQ2a5tqDdk6/8MEpuM7T6jb08GMRlY8LS6XUqm xXMafTvy9kMHanvH9PHuVPyYjvq1hPlvxHcIbxmOn8HyDR0ptnSPbXi0oLqex2ym89x8 AFbw== X-Gm-Message-State: AD7BkJLMnM/gxKsAJUKUlcCQqi3MFjnh5rkpmQv808KWHSAMmLCPuHywQPSnpsuOCuSygg== X-Received: by 10.60.160.97 with SMTP id xj1mr7108609oeb.80.1458240077460; Thu, 17 Mar 2016 11:41:17 -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.16 (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 3/9] rtlwifi: rtl8188ee: Fix Smatch warnings Date: Thu, 17 Mar 2016 13:40:58 -0500 Message-Id: <1458240064-31422-4-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/rtl8188ee/dm.c drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c:1140 rtl88e_dm_check_txpower_tracking() warn: inconsistent indenting CHECK drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c:1906 _rtl88e_phy_lc_calibrate() warn: inconsistent indenting Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c | 2 +- drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c index ce4da9d..db9a782 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c @@ -1137,7 +1137,7 @@ void rtl88e_dm_check_txpower_tracking(struct ieee80211_hw *hw) } else { RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, "Schedule TxPowerTracking !!\n"); - dm_txpower_track_cb_therm(hw); + dm_txpower_track_cb_therm(hw); rtlpriv->dm.tm_trigger = 0; } } diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c index a2bb02c..416a9ba 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c @@ -1903,8 +1903,7 @@ static void _rtl88e_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) } else { rtl_write_byte(rtlpriv, REG_TXPAUSE, 0x00); } -RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "\n"); - + RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "\n"); } static void _rtl88e_phy_set_rfpath_switch(struct ieee80211_hw *hw,