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 <>
Signed-off-by: default avatarBjorn Andersson <>
parent a8bb3fd9
......@@ -991,8 +991,8 @@ static int rpmsg_probe(struct virtio_device *vdev)
goto vqs_del;
dev_dbg(&vdev->dev, "buffers: va %p, dma 0x%llx\n", bufs_va,
(unsigned long long)vrp->bufs_dma);
dev_dbg(&vdev->dev, "buffers: va %p, dma %pad\n",
bufs_va, &vrp->bufs_dma);
/* half of the buffers is dedicated for RX */
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