summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/pcie_bus.c
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-05-27 14:45:49 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-05-29 13:10:31 -0400
commit39c52ee8cb6d473dda6c33431339ca2bc984d66d (patch)
treed34d927a01fb0f57b7a58836f0a024cbd61861a3 /drivers/net/wireless/ath/wil6210/pcie_bus.c
parent047e5d74b6e97ef883f4c8e912bd89451957de2b (diff)
downloadblackbird-op-linux-39c52ee8cb6d473dda6c33431339ca2bc984d66d.tar.gz
blackbird-op-linux-39c52ee8cb6d473dda6c33431339ca2bc984d66d.zip
wil6210: improve pointers printing
use proper format %pad for the dma_addr_t arguments; prefix %p with 0x, as %p don't print is by itself Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/pcie_bus.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/pcie_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/pcie_bus.c b/drivers/net/wireless/ath/wil6210/pcie_bus.c
index 066088418307..1e2e07b9d13d 100644
--- a/drivers/net/wireless/ath/wil6210/pcie_bus.c
+++ b/drivers/net/wireless/ath/wil6210/pcie_bus.c
@@ -138,7 +138,7 @@ static int wil_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id)
goto err_release_reg;
}
/* rollback to err_iounmap */
- dev_info(&pdev->dev, "CSR at %pR -> %p\n", &pdev->resource[0], csr);
+ dev_info(&pdev->dev, "CSR at %pR -> 0x%p\n", &pdev->resource[0], csr);
wil = wil_if_alloc(dev, csr);
if (IS_ERR(wil)) {
OpenPOWER on IntegriCloud