linux/virt/kvm
Paul Bolle e81d1ad327 kvm: vfio: silence GCC warning
Building vfio.o triggers a GCC warning (when building for 32 bits x86):
    arch/x86/kvm/../../../virt/kvm/vfio.c: In function 'kvm_vfio_set_group':
    arch/x86/kvm/../../../virt/kvm/vfio.c:104:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      void __user *argp = (void __user *)arg;
                          ^

Silence this warning by casting arg to unsigned long.

argp's current type, "void __user *", is always casted to "int32_t
__user *". So its type might as well be changed to "int32_t __user *".

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-01-15 12:01:48 +01:00
..
arm KVM: arm-vgic: Support CPU interface reg access 2013-12-21 10:02:10 -08:00
Kconfig kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
assigned-dev.c
async_pf.c KVM: Drop FOLL_GET in GUP when doing async page fault 2013-10-15 13:43:37 +03:00
async_pf.h
coalesced_mmio.c
coalesced_mmio.h
eventfd.c kvm eventfd: switch to fdget 2013-09-03 23:04:45 -04:00
ioapic.c kvm: make local functions static 2014-01-08 19:02:58 -02:00
ioapic.h kvm: make local functions static 2014-01-08 19:02:58 -02:00
iodev.h
iommu.c KVM: IOMMU: hva align mapping page size 2013-11-05 09:55:36 +02:00
irq_comm.c KVM: Fix RTC interrupt coalescing tracking 2013-06-27 14:20:53 +03:00
irqchip.c
kvm_main.c kvm: remove dead code 2014-01-08 19:03:00 -02:00
vfio.c kvm: vfio: silence GCC warning 2014-01-15 12:01:48 +01:00