summaryrefslogtreecommitdiff
path: root/include/kvm
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2024-04-23 16:05:36 +0100
committerMarc Zyngier <maz@kernel.org>2024-05-01 16:48:14 +0100
commit97a3dee1725dc690f806f7b899b086b67f1ef905 (patch)
treec93b6af4c42e496cc31052baaee7cd49fcfdd623 /include/kvm
parent4dc8c9de384fb99692d35d2acdfedd5660930dfc (diff)
KVM: arm64: Refactor setting the return value in kvm_vm_ioctl_enable_cap()
Initialize r = -EINVAL to get rid of the error-path initializations in kvm_vm_ioctl_enable_cap(). No functional change intended. Suggested-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Fuad Tabba <tabba@google.com> Acked-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240423150538.2103045-29-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions