forked from Minki/linux
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: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
a8bb3fd908
commit
8d95b322ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user