Return-path: Received: from s87.loopia.se ([194.9.94.111]:15839 "EHLO s87.loopia.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbaHQV5i (ORCPT ); Sun, 17 Aug 2014 17:57:38 -0400 From: Hans Wennborg To: kvalo@qca.qualcomm.com, linville@tuxdriver.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath6kl@lists.infradead.org Cc: Hans Wennborg Subject: [PATCH 1/1] ath6kl: fix %d confusingly prefixed with 0x in format strings Date: Sun, 17 Aug 2014 14:57:11 -0700 Message-Id: <1408312631-5619-1-git-send-email-hans@hanshq.net> (sfid-20140817_235754_853976_9039977B) In-Reply-To: <8738czmejl.fsf@kamboji.qca.qualcomm.com> References: <8738czmejl.fsf@kamboji.qca.qualcomm.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Signed-off-by: Hans Wennborg --- drivers/net/wireless/ath/ath6kl/init.c | 2 +- drivers/net/wireless/ath/ath6kl/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index fffd523..6e473fa 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c @@ -1049,7 +1049,7 @@ static int ath6kl_fetch_fw_apin(struct ath6kl *ar, const char *name) ar->hw.reserved_ram_size = le32_to_cpup(val); ath6kl_dbg(ATH6KL_DBG_BOOT, - "found reserved ram size ie 0x%d\n", + "found reserved ram size ie %d\n", ar->hw.reserved_ram_size); break; case ATH6KL_FW_IE_CAPABILITIES: diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index 21516bc..933aef0 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c @@ -225,7 +225,7 @@ int ath6kl_diag_write32(struct ath6kl *ar, u32 address, __le32 value) ret = ath6kl_hif_diag_write32(ar, address, value); if (ret) { - ath6kl_err("failed to write 0x%x during diagnose window to 0x%d\n", + ath6kl_err("failed to write 0x%x during diagnose window to 0x%x\n", address, value); return ret; } -- 2.1.0.rc2.206.gedb03e5