Commit 8984921b authored by Federico Vaga's avatar Federico Vaga Committed by Adam Wujek

kernel:wr_nic: fix printk string format

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 54f423ae
...@@ -96,13 +96,13 @@ static int __wrn_map_resources(struct platform_device *pdev) ...@@ -96,13 +96,13 @@ static int __wrn_map_resources(struct platform_device *pdev)
continue; continue;
ptr = ioremap(res->start, res->end + 1 - res->start); ptr = ioremap(res->start, res->end + 1 - res->start);
if (!ptr) { if (!ptr) {
dev_err(&pdev->dev, "Remap for res %i (%pa) failed\n", dev_err(&pdev->dev, "Remap for res %i %pr failed\n",
i, res->start); i, res);
return -ENOMEM; return -ENOMEM;
} }
/* Hack: find the block number and fill the array */ /* Hack: find the block number and fill the array */
pr_debug("Remapped %pa (block %i) to %p\n", pr_debug("Remapped %pr (block %i) to %p\n",
res->start, i, ptr); res, i, ptr);
wrn->bases[i] = ptr; wrn->bases[i] = ptr;
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment