Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6015068ybc; Wed, 27 Nov 2019 13:25:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyrpuG6yCdtTAUxR/EmQmkBewjCYwoPx2dPyxdzevHUskna2+8mcdZb2850vQwrMnR2kAo/ X-Received: by 2002:a50:cc07:: with SMTP id m7mr35029186edi.146.1574889959031; Wed, 27 Nov 2019 13:25:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574889959; cv=none; d=google.com; s=arc-20160816; b=CixDlfdKWtXKIF57gWWGuTDspAhRdHOHBQS83s154zen4luLqVr+A6+v6dKhvzQn3e Hh1JqpsJrc8oeVfehH1Led5jDFZ7I8SClqLMKiWU1uvKywYfH+V7cWF91MDEKHTurZPJ ojgZHLzUkK+mCdlbnWQJhSmP1YSqU/9ygKgBYCxhiFz5Zvzf8PhoF6eQJ3wg2FU72jIK YOdiUchmMWI1lKgKdnE96sEeDUvq68LRvmh27L3cHPUfi76vjCZasRz8TBdugfadKUdU 0NeHjr5m8niQVYpTxYOBeM35+RCLaVIXv0D8ySX4EBRxZObQvXsLIaz+5uiQLRaINNO1 exiQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ijYUaJwPcjeRBXNjoy5Ir6MQKTPy5japULqw/hJUo5I=; b=y37IZ6lDNnK9Pa6hVvSdFVg6P6SitM7NRCfmcmEyBpzNkkAtriyLmgvB+2waXBonC5 t0aYvmw4JIe+yZNdrYRaF4Y6D8Lx5xfn/HK5+CVtAnEE1DSlzV3Wug1Fuk1LzhpCiMQs K+YJLMGVlvcXcRAX8ZNCidDbGIDNz9jkxCvrgqWl3kFLfJkF/VtqZ3XAa3ov+VtwptUJ Hea+lgvw0hAekN1dvfty/EJ/ErayiHYpppQQ6XGRluv87yJgGi+QjbSa6tXVtnoMMSMe 3uY4wSS8nktOy4MxRbbc/s4VP7RyPJTz46LLtKOm/mtglOVqRotcJ6JUz9ALx2sX9Fae cZyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iuf7qylV; 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 q30si12002224edb.372.2019.11.27.13.25.35; Wed, 27 Nov 2019 13:25: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; dkim=pass header.i=@kernel.org header.s=default header.b=iuf7qylV; 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 S1731966AbfK0VXa (ORCPT + 99 others); Wed, 27 Nov 2019 16:23:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:57986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732150AbfK0VE2 (ORCPT ); Wed, 27 Nov 2019 16:04:28 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6D91720637; Wed, 27 Nov 2019 21:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574888667; bh=K6SV6E2fk/vQUx9u9jTQu3pwQlpbEddX+FJVxsoihFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iuf7qylVCPPyrfw/bbeoA3aLg9cXj0Ybz+y0xDEvcQaUuHoMF+JiB55XIpjZCLHUP ZazJvHbgZxJ8POXmXAAGQgGMOH0UdCQGKnn5a6Tz5qGvmFncRrOx1b/hPSdU7lAG4S uikLsZ+6Vq5SJx3zeZQQwUoJYwrCeqy3gNMvMp4k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ping-Ke Shih , Kalle Valo , Shaokun Zhang , Sasha Levin Subject: [PATCH 4.19 222/306] rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information Date: Wed, 27 Nov 2019 21:31:12 +0100 Message-Id: <20191127203131.262369737@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127203114.766709977@linuxfoundation.org> References: <20191127203114.766709977@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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