]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath6kl: fix %d confusingly prefixed with 0x in format strings
authorHans Wennborg <hans@hanshq.net>
Sun, 17 Aug 2014 21:57:11 +0000 (14:57 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 25 Aug 2014 08:20:30 +0000 (11:20 +0300)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/main.c

index a61118484de6171b04ad004a0bb3a1be73d12c29..6340afca9ad37cc9de7570e7110891b9f9123a1c 100644 (file)
@@ -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:
index 21516bc657857b8a44405c5c22944a275271e5f2..933aef025698d90326f91b8d9746a417786769e1 100644 (file)
@@ -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;
        }