From patchwork Thu Mar 17 10:03:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102553 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp363409lbc; Thu, 17 Mar 2016 03:04:58 -0700 (PDT) X-Received: by 10.66.244.233 with SMTP id xj9mr13612294pac.19.1458209098067; Thu, 17 Mar 2016 03:04:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q90si11536987pfa.198.2016.03.17.03.04.57; Thu, 17 Mar 2016 03:04:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935527AbcCQKEy (ORCPT + 4 others); Thu, 17 Mar 2016 06:04:54 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:53752 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935295AbcCQKEu (ORCPT ); Thu, 17 Mar 2016 06:04:50 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0LtS7s-1ZhyD80fY4-010wp6; Thu, 17 Mar 2016 11:04:34 +0100 From: Arnd Bergmann To: Larry Finger , Chaoming Li , Kalle Valo Cc: Arnd Bergmann , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtlwifi: fix gcc-6 indentation warning Date: Thu, 17 Mar 2016 11:03:50 +0100 Message-Id: <1458209066-3979295-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:r+SCTsn4jX1K95qwi4B18Lcx7ECC6kjFIUgJwtYX0sLDmssrg5Q PmDCuqmWnudddkA+tAiiPz/yAtFQrw5y4lN70Gx+ZIV0NgQUezYIeGXLVdrTChR/ypDJDI4 fIKA8CBpW608AxQaKDFth8QY8lnzaoKzu9kkUmuWgH6/9xy6CzMdSo7r7bhtPJzGZDblQXz BprSvbAJ7UmG2Ho89I9gw== X-UI-Out-Filterresults: notjunk:1; V01:K0:eGeOw7OvzJU=:C9abFb8RzpfigeUrNqfIPz 01Rq2IKBtXTfmGHXSatfs0mTiCmaXTwNYtfv2ESmeJuIiVEmIvutSGyy0Z901dIqtQpw3/1mb op1JxAKthLHC36+2ugqLlna4uuc+5olWtLYKwox6wtouyZTHmm9Eham4GN6+6V4WF4G0AiEYx O21iixi9lSIGqCGlUWqYUo0AqEx7sYK6Rl4mJX/2a56p21h/Cp+2zz7d25JtJu358kmipZl66 1mR8Ax7CPNH0d5BspqyczedlJGR3dv5+NJgQ43bMoJ/ISM75upLI1PPU1BgoI62Wzy2GiotRU 3sdYU3oaG/MtJdB0wRcxnOAPGK7aP+w0lGjOvO+ni7LBdSKuECzuqrHX+A/3B+iMKIN2H7Gnx 6lmTqiCbnrMNZmTH0YB8ppXYUoYq8NH06vlS7dYUsj6VxrvuYVpqf8f65evVEND+uzkumR6sH 5zwMZL5n/wg7EzjeQVtxdvbzu44IZJWMdOQo8ezw68Q/9vz9ydFaeta2zYRg0uPBMO+/4tthV lyxIdBOEZLW0sN73vhnsCfYhXxviUdq9Yuios4p7vy3CdhZufQgfl6LQsk7IPgBSX+P4wwL+V GV+KSlrQOqANix2za7NiVVNaFfq9Ti4+sUAiNP7A3QQv1+tMVTcoz177ZR7mzx+i5rXizzXwL Y9ZLzbwcfn45ae6AhN0G8vYlrmCsETgiQq3fax9j7Pt3CHYJbbHefwyJ3yHt0yGJCffc= Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The rtl8821ae_dm_txpower_tracking_callback_thermalmeter function contains a call to RT_TRACE() that is indented in a misleading way, as pointed out by a gcc-6 warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function 'rtl8821ae_dm_txpower_tracking_callback_thermalmeter': drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2491:4: error: statement is indented as if it were guarded by... RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, ^~~~~~~~ drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2488:3: note: ...this 'for' clause, but it is not for (p = RF90_PATH_A; p < MAX_PATH_NUM_8821A; p++) ^~~ It is clear from the context that the call was not meant to be part of the loop and only the indentation is wrong, so this removes the extra tabs. Signed-off-by: Arnd Bergmann --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.0 diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c index 95dcbff4673b..6a8245c4ea48 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c @@ -2488,9 +2488,9 @@ void rtl8821ae_dm_txpower_tracking_callback_thermalmeter( for (p = RF90_PATH_A; p < MAX_PATH_NUM_8821A; p++) rtldm->swing_idx_ofdm_base[p] = rtldm->swing_idx_ofdm[p]; - RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, - "pDM_Odm->RFCalibrateInfo.ThermalValue = %d ThermalValue= %d\n", - rtldm->thermalvalue, thermal_value); + RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, + "pDM_Odm->RFCalibrateInfo.ThermalValue = %d ThermalValue= %d\n", + rtldm->thermalvalue, thermal_value); /*Record last Power Tracking Thermal Value*/ rtldm->thermalvalue = thermal_value; }