diff options
author | Anna, Suman <s-anna@ti.com> | 2016-08-12 18:42:25 -0500 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-08-12 21:26:20 -0700 |
commit | 8d95b322ba34b158146bc2fa6172304ef13ac232 (patch) | |
tree | 5e56bd8dfc131008c109cee6a1d69b802d78c7cb /drivers/rpmsg | |
parent | a8bb3fd908309d9a3c01892b5854f82d462d8a3e (diff) | |
download | linux-stable-8d95b322ba34b158146bc2fa6172304ef13ac232.tar.gz linux-stable-8d95b322ba34b158146bc2fa6172304ef13ac232.tar.bz2 linux-stable-8d95b322ba34b158146bc2fa6172304ef13ac232.zip |
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>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r-- | drivers/rpmsg/virtio_rpmsg_bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index 04fd6bd22a72..7de44c356f1c 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -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; |