Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52f1aa61 authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by Ian Maund
Browse files

wil6210: fix format specifier for dma_addr_t



Fix format specifier used for dma_addr_t, namely use %pad
Debug print virtual address for the same buffer as well.

Change-Id: I28a44c32162953e5f7ee4fe93eb094c1601a7f25
Fixes: dc16427bbe65 ("wil6210: Add pmc debug mechanism memory management")
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 80714b09bc574c5b23e50264e76e6e0f78d23549
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git


Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 475f7a74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);