author | Suman Anna <s-anna@ti.com> | |
Wed, 24 Oct 2018 01:19:09 +0000 (20:19 -0500) | ||
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | |
Tue, 27 Aug 2019 22:21:05 +0000 (15:21 -0700) | ||
commit | de4064af76537f13d74a814a962f4524e81436ac | |
tree | 869136a65d1d7625c296654ae6cc6d15ef2cb3b4 | tree | snapshot (tar.xz tar.gz zip) |
parent | 13ef71f074837b53a25822e0a6912c2aefe55019 | commit | diff |
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>
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>
drivers/rpmsg/virtio_rpmsg_bus.c | diff | blob | history |