Received: by 10.223.185.116 with SMTP id b49csp1126857wrg; Fri, 23 Feb 2018 12:23:59 -0800 (PST) X-Google-Smtp-Source: AH8x2260JIVD6o44BI9AZ5QDfqNN0E+fLtgKwdMVzwMznWHtimURJVyFOj+2YEi1G2XXjns7b8Iz X-Received: by 2002:a17:902:536a:: with SMTP id b97-v6mr2759769pli.421.1519417439210; Fri, 23 Feb 2018 12:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417439; cv=none; d=google.com; s=arc-20160816; b=uOfmGCRX74zjInTki+sEmj7tVT9uL4DJJE0GuIiat9i+yEWXwS9DI+htCEJQMBw2jt sq/RTLLNNuKkVQHQ3Am2IItzBVDtnfTmuP3suvbKug3rcsAImr9Igzf3B6td7WkGmxJu 7HRFQC9TTi2McZjtYj090f8mNPECdBtL3T4S41W/yjDjRmZPGgFdpgqW7D3iIaUzBTZ/ Gkyqkj8kH28ywua975oGh8nHGpaTB7BCw2Jk9B5yITGFHItXGCNDO1jA4GF4ot3YpJdh paOLtMrtkErDmEjd34SNbl9ph+JlHXHnRiTy0B6Bq0h/EaWvvoQzwftFLhWZ6bAYNPKF rKFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=EB+gP8nlJk4qL3w+lmWO0mlj/prkv5tQ6C952srfR8c=; b=HYjQen6BoiBCsYlxWXRaKFmm1UHkc9FTGO+TtqLj1trkjFGWaRvYCgM4+xYaBrWfFs r1GC0iu046blsl97xA6e4A7DgaREZ5ZlJ8g2riN09ZzGVKiFLUsrCYpqvz13DI4TPLKl BYwwqXj8XJTcCn9fGAAD7sAZOPSSY7rcAvJgXUzfeTE+lC7STrjxXS4l4UQPps7DJN12 Av3L8rOjl3CQX9k/GPk4BxBokZXdRv8s9a33OL0XzcELvbkKOjvgkUxLBl7dFmaU9tkp DhArJ9+mkBYBp8hFwcNbyKo+wAw+oCDT/LFdLbJFoga0kTn2iT/i/QMKc/Yj4FBHAjuI 0pug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x21-v6si2264798pln.416.2018.02.23.12.23.45; Fri, 23 Feb 2018 12:23:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932427AbeBWUXI (ORCPT + 99 others); Fri, 23 Feb 2018 15:23:08 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:38964 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932317AbeBWSiT (ORCPT ); Fri, 23 Feb 2018 13:38:19 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 647A6106B; Fri, 23 Feb 2018 18:38:18 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Larry Finger , Kalle Valo Subject: [PATCH 4.4 114/193] rtlwifi: fix gcc-6 indentation warning Date: Fri, 23 Feb 2018 19:25:47 +0100 Message-Id: <20180223170343.775799857@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 2acd846485549655582ee379ceb966206f91e6f8 upstream. 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 Acked-by: Larry Finger Signed-off-by: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- 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_callb 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; }