diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-30 12:12:13 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-30 12:15:34 +0100 |
commit | 0c8eb04a6241da28deb108181213b791c378123b (patch) | |
tree | 5b93f4f81a51a1118ad271c8a94b414c3d6859d2 /virt/kvm/irqchip.c | |
parent | KVM: Fix modprobe failure for kvm_intel/kvm_amd (diff) | |
download | linux-0c8eb04a6241da28deb108181213b791c378123b.tar.xz linux-0c8eb04a6241da28deb108181213b791c378123b.zip |
KVM: use a more sensible error number when debugfs directory creation fails
I don't know if this was due to cut and paste, or somebody was really
using a D20 to pick the error code for kvm_init_debugfs as suggested by
Linus (EFAULT is 14, so the possibility cannot be entirely ruled out).
In any case, this patch fixes it.
Reported-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/irqchip.c')
0 files changed, 0 insertions, 0 deletions