Skip to content
Commit 5a6da5f7 authored by Markus Elfring's avatar Markus Elfring Committed by James Hogan
Browse files

MIPS: KVM: Return directly after a failed copy_from_user() in kvm_arch_vcpu_ioctl()



* Return directly after a call of the function "copy_from_user" failed
  in a case block.

* Delete the jump label "out" which became unnecessary with
  this refactoring.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
parent 0b4c208d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment