Commit 8d95b322 authored by Anna, Suman's avatar Anna, Suman Committed by Bjorn Andersson

rpmsg: use proper format-specifier for printing dma_addr_t

The dma_addr_t types can be printed properly using the %pad
printk format-specifier, there is no need to resort to the
unsigned long long type-casting to deal with different possible
type sizes.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent a8bb3fd9
...@@ -991,8 +991,8 @@ static int rpmsg_probe(struct virtio_device *vdev) ...@@ -991,8 +991,8 @@ static int rpmsg_probe(struct virtio_device *vdev)
goto vqs_del; goto vqs_del;
} }
dev_dbg(&vdev->dev, "buffers: va %p, dma 0x%llx\n", bufs_va, dev_dbg(&vdev->dev, "buffers: va %p, dma %pad\n",
(unsigned long long)vrp->bufs_dma); bufs_va, &vrp->bufs_dma);
/* half of the buffers is dedicated for RX */ /* half of the buffers is dedicated for RX */
vrp->rbufs = bufs_va; vrp->rbufs = bufs_va;
......
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