Skip to contentSkip to conversation

KVM: Correct deassign device ioctl to IOW

PATCH New Sheng Yang 1 participant 1 message Mar 17, 2009 KVM

lore
Share & tools
lore

Sheng Yang

author
#0 lore raw

PATCH 1/1 KVM: Correct deassign device ioctl to IOW

It's IOR by mistake, so fix it before release.

---
 include/linux/kvm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/kvm.h +1 -1
index f8abdbf..ee755e2 100644
@@ -489,7 +489,7 @@ struct kvm_irq_routing {
 			    struct kvm_assigned_irq)
 #define KVM_ASSIGN_DEV_IRQ        _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
 #define KVM_REINJECT_CONTROL      _IO(KVMIO, 0x71)
-#define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x72, \
+#define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
 				     struct kvm_assigned_pci_dev)
 #define KVM_ASSIGN_SET_MSIX_NR \
 			_IOW(KVMIO, 0x73, struct kvm_assigned_msix_nr)
Signature · 1 line
1.5.4.5