projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efd0f5
)
KVM: s390: Fix return code for unknown ioctl numbers
author
Carsten Otte
<cotte@de.ibm.com>
Wed, 4 Jan 2012 09:25:30 +0000
(10:25 +0100)
committer
Avi Kivity
<avi@redhat.com>
Mon, 5 Mar 2012 12:52:21 +0000
(14:52 +0200)
This patch fixes the return code of kvm_arch_vcpu_ioctl in case
of an unkown ioctl number.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/kvm/kvm-s390.c
b/arch/s390/kvm/kvm-s390.c
index a1061b361c435b9060450ee2a426c6406f1b87de..a33b444875402a8baf81553fbdacd17643497311 100644
(file)
--- a/
arch/s390/kvm/kvm-s390.c
+++ b/
arch/s390/kvm/kvm-s390.c
@@
-781,7
+781,7
@@
long kvm_arch_vcpu_ioctl(struct file *filp,
break;
}
default:
- r = -E
INVAL
;
+ r = -E
NOTTY
;
}
return r;
}