From: Avi Kivity Date: Thu, 1 Mar 2007 14:47:06 +0000 (+0200) Subject: KVM: Remove minor wart from KVM_CREATE_VCPU ioctl X-Git-Tag: v2.6.22-rc1~1008^2~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4dac3952468157297b81ae0a29815c02ead179;p=linux-2.6 KVM: Remove minor wart from KVM_CREATE_VCPU ioctl That ioctl does not transfer any data, so it should be an _IO rather than an _IOW. Signed-off-by: Avi Kivity --- diff --git a/include/linux/kvm.h b/include/linux/kvm.h index c6dd4a79b7..d89189a81a 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -241,7 +241,7 @@ struct kvm_cpuid { * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns * a vcpu fd. */ -#define KVM_CREATE_VCPU _IOW(KVMIO, 11, int) +#define KVM_CREATE_VCPU _IO(KVMIO, 11) #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 12, struct kvm_dirty_log) /*