KVM: arm64: Return a bool from emulate_cp()
authorOliver Upton <oupton@google.com>
Tue, 3 May 2022 06:01:59 +0000 (06:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 3 May 2022 10:14:33 +0000 (11:14 +0100)
commit001bb819994cd1bd037b6aefdb233f1720ee2126
treead3f44b6d29078145c82509032ed34152cb13e61
parentb2d229d4ddb17db541098b83524d901257e93845
KVM: arm64: Return a bool from emulate_cp()

KVM indicates success/failure in several ways, but generally an integer
is used when conditionally bouncing to userspace is involved. That is
not the case from emulate_cp(); just use a bool instead.

No functional change intended.

Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220503060205.2823727-2-oupton@google.com
arch/arm64/kvm/sys_regs.c