]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61b040cfdc9738d190295b530c771eebc01ef4fe
treead3f44b6d29078145c82509032ed34152cb13e61
parent0e63df2d0d54b39e7363398ea63d214be3dfe228
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