Skip to content
Commit f6a3b168 authored by Markus Elfring's avatar Markus Elfring Committed by Paolo Bonzini
Browse files

KVM: Return directly after a failed copy_from_user() in kvm_vm_compat_ioctl()



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

  This issue was detected by using the Coccinelle software.

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

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