]> err.no Git - linux-2.6/commit
KVM: remove long -> void *user -> long cast
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 21 Apr 2008 11:48:24 +0000 (13:48 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:40:46 +0000 (12:40 +0300)
commit1e1c65e03ec817a64153751150f6691db9842acd
treec7f15ad0f376d7e8a501a2aa7be378cb84ca8e86
parent5b664cb235e97afbf34db9c4d77f08ebd725335e
KVM: remove long -> void *user -> long cast

kvm_dev_ioctl casts the arg value to void __user *, just to recast it
again to long. This seems unnecessary.

According to objdump the binary code on x86 is unchanged by this patch.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/kvm_main.c