arm64: kvm: avoid %p in __kvm_hyp_panic
authorMark Rutland <mark.rutland@arm.com>
Mon, 16 Nov 2015 13:55:51 +0000 (13:55 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 24 Nov 2015 17:18:13 +0000 (18:18 +0100)
commit1d7a4e313abbc7200982e5a68121483a3aa32295
treec8ada03d2a48ed16dc3e99b60eb2341175dc9169
parent9f958c11b780af74fc311b96d6124740aa21cc68
arm64: kvm: avoid %p in __kvm_hyp_panic

Currently __kvm_hyp_panic uses %p for values which are not pointers,
such as the ESR value. This can confusingly lead to "(null)" being
printed for the value.

Use %x instead, and only use %p for host pointers.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/hyp.S