]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6f0673130ae0d7939a1adaf35002f88d6d4e00c
treec8ada03d2a48ed16dc3e99b60eb2341175dc9169
parent0fac74faa8a753c71ade0b98b6d20d1f1d405ef6
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