diff options
author | Fuad Tabba <tabba@google.com> | 2024-04-23 16:05:36 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-05-01 16:48:14 +0100 |
commit | 97a3dee1725dc690f806f7b899b086b67f1ef905 (patch) | |
tree | c93b6af4c42e496cc31052baaee7cd49fcfdd623 /include/kvm | |
parent | 4dc8c9de384fb99692d35d2acdfedd5660930dfc (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