Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp737235ybc; Sat, 16 Nov 2019 07:49:55 -0800 (PST) X-Google-Smtp-Source: APXvYqwpUNC7UBSGebQJTG2IQIsgLIkK9WxVlIoDJL5ydsGBxMQujxmpOINtp79RatDbrrC0lYD+ X-Received: by 2002:a17:906:3053:: with SMTP id d19mr10855474ejd.109.1573919395070; Sat, 16 Nov 2019 07:49:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573919395; cv=none; d=google.com; s=arc-20160816; b=C/4mGLzXv21VjDP8P/7Iaet2VmdFLdSEoGreyf5dyQJk5U2JuP1fa5MLwV7qJ/UT/b 8L548jNrKNUUJyXdOAyGP6aACNdAu6s0vVXMTr1JQuq+p+znzP4voChtzRUVffZTYX74 43oj57t/7yTGRE6fvqhYDkc4MDVwjLdbMUeGKNZy7+TRPvn0eTK2vbf2KBSUaBr3iWZ+ VUBvbatpXlOOI0ltB2R8Wco+5d4zj4MzPmMXyDTQaJ5b4iW27U9IDbqv9MX7tAXlUVuJ jpP0vCpX9oF6/Z45/Vb756lWqCi9+HFejnZ/+5+uVq0ExSIW8PXCbHK47rdpUFcADdkZ hb/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ijYUaJwPcjeRBXNjoy5Ir6MQKTPy5japULqw/hJUo5I=; b=wclr5FZ7+kSROSGr0pnwcQ+OluxsfDZRoKeS2wBTPx00T/+7xDYkZFJSTG/SE9Eh+Z ubKtEdfOkWqhXEkHe4/TtQYrDbUo9skFKHvGSf1QfnrYI+bLP+hMnc24NJ579iFXRT2Z 87FSS/aFg2+KLcoKB/4rn5CCqcvnvOmaMgrw0XRCUCsfPNJxdO1DiPr7OccirVYeJO3C xWrru2fTazWjp94AwOjH1ThYDYOkD1uObtM1JKZ6T4Iemb0aMmMKodYWsETnd8r3i9P4 q42MvLnpWz06zCYcENWNV0eLwOYthZDzXro6E5jlRbhIxzm54Xn3HXRCheuJYGrC82I1 kRAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kj9CzMvu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si7855030ejj.427.2019.11.16.07.49.30; Sat, 16 Nov 2019 07:49:55 -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; dkim=pass header.i=@kernel.org header.s=default header.b=kj9CzMvu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728844AbfKPPrT (ORCPT + 99 others); Sat, 16 Nov 2019 10:47:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:53218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729479AbfKPPqn (ORCPT ); Sat, 16 Nov 2019 10:46:43 -0500 Received: from sasha-vm.mshome.net (unknown [50.234.116.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC5AA20898; Sat, 16 Nov 2019 15:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573919203; bh=K6SV6E2fk/vQUx9u9jTQu3pwQlpbEddX+FJVxsoihFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kj9CzMvuWmhBftY5IqK3UZ9YpI+dLLh6HbgER8AhjRfBHY4txgrK7N2FndyqY0cI6 cU98V9K/u/GN4+gNrCiIMTPYjxHzGHNFvEWSq6XTYA5k0K04CfTwe7sOgfWjB3KI/h QjKqrLa9qhnVvUOETmg6BwPR81qME7qXQ1glZfEI= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Shaokun Zhang , Ping-Ke Shih , Kalle Valo , Sasha Levin , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 205/237] rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information Date: Sat, 16 Nov 2019 10:40:40 -0500 Message-Id: <20191116154113.7417-205-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191116154113.7417-1-sashal@kernel.org> References: <20191116154113.7417-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shaokun Zhang [ Upstream commit 7d129adff3afbd3a449bc3593f2064ac546d58d3 ] RT_TRACE shows REG_MCUFWDL value as a decimal value with a '0x' prefix, which is somewhat misleading. Fix it to print hexadecimal, as was intended. Cc: Ping-Ke Shih Cc: Kalle Valo Signed-off-by: Shaokun Zhang Acked-by: Ping-Ke Shih Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c index 85cedd083d2b8..75bfa9dfef4aa 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c @@ -173,7 +173,7 @@ static int _rtl92d_fw_init(struct ieee80211_hw *hw) rtl_read_byte(rtlpriv, FW_MAC1_READY)); } RT_TRACE(rtlpriv, COMP_FW, DBG_DMESG, - "Polling FW ready fail!! REG_MCUFWDL:0x%08ul\n", + "Polling FW ready fail!! REG_MCUFWDL:0x%08x\n", rtl_read_dword(rtlpriv, REG_MCUFWDL)); return -1; } -- 2.20.1