]> git.proxmox.com Git - mirror_qemu.git/commit - hw/vfio_pci.c
vfio-pci: Clang cleanup
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:31 +0000 (08:45 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:31 +0000 (08:45 -0600)
commit1a40313381262ebb5f30fb95d5550b674280f396
tree60d5c4e2ca727f78dfef2220462e2741f6a01fb1
parentce59af2dba6fde2e3990b831f4c9a83641f5609e
vfio-pci: Clang cleanup

Blue Swirl reports that Clang doesn't like the structure we define to
avoid dynamic allocation for a number of calls to VFIO_DEVICE_SET_IRQS.
Adding an element after a variable sized type is a GNU extension.
Switch back to dynamic allocation, which really isn't a problem since
this is only done on interrupt setup changes.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio_pci.c