Skip to content

Commit

Permalink
wil6210: fix format specifier for dma_addr_t
Browse files Browse the repository at this point in the history
Fix format specifier used for dma_addr_t, namely use %pad
Debug print virtual address for the same buffer as well.

Fixes: dc16427 ("wil6210: Add pmc debug mechanism memory management")
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Vladimir Kondratiev authored and Kalle Valo committed May 22, 2015
1 parent 2c2d2fa commit 80714b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/wil6210/pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ void wil_pmc_alloc(struct wil6210_priv *wil,
GFP_KERNEL);

wil_dbg_misc(wil,
"%s: allocated pring %p. %zd x %d = total %zd bytes\n",
"%s: allocated pring %p => %pad. %zd x %d = total %zd bytes\n",
__func__,
(void *)pmc->pring_pa,
pmc->pring_va, &pmc->pring_pa,
sizeof(struct vring_tx_desc),
num_descriptors,
sizeof(struct vring_tx_desc) * num_descriptors);
Expand Down

0 comments on commit 80714b0

Please sign in to comment.