mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 06:30:53 +07:00
rpmsg: virtio_rpmsg_bus: replace "%p" with "%pK"
The virtio_rpmsg_bus driver uses the "%p" format-specifier for printing the vring buffer address. This prints only a hashed pointer even for previliged users. Use "%pK" instead so that the address can be printed during debug using kptr_restrict sysctl. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
13ef71f074
commit
de4064af76
@ -920,7 +920,7 @@ static int rpmsg_probe(struct virtio_device *vdev)
|
||||
goto vqs_del;
|
||||
}
|
||||
|
||||
dev_dbg(&vdev->dev, "buffers: va %p, dma %pad\n",
|
||||
dev_dbg(&vdev->dev, "buffers: va %pK, dma %pad\n",
|
||||
bufs_va, &vrp->bufs_dma);
|
||||
|
||||
/* half of the buffers is dedicated for RX */
|
||||
|
Loading…
Reference in New Issue
Block a user