Re: [PATCH] Fix build failure with DEVICE_ASSIGNMENT_DEBUG.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 29, 2009 at 11:24:36AM +0900, Kusanagi Kouichi wrote:
> If DEVICE_ASSIGNMENT_DEBUG is defined, build fails.
> 
>   CC    x86_64-softmmu/device-assignment.o
> hw/device-assignment.c: In function 'assigned_dev_iomem_map_slow':
> hw/device-assignment.c:235: error: expected expression before ')' token
> cc1: warnings being treated as errors
> hw/device-assignment.c: In function 'assigned_dev_iomem_map':
> hw/device-assignment.c:264: error: format '%08x' expects type 'unsigned int', but argument 4 has type 'pcibus_t'
> hw/device-assignment.c:264: error: format '%08x' expects type 'unsigned int', but argument 7 has type 'pcibus_t'
> hw/device-assignment.c: In function 'assigned_dev_ioport_map':
> hw/device-assignment.c:313: error: format '%x' expects type 'unsigned int', but argument 4 has type 'pcibus_t'
> hw/device-assignment.c:313: error: format '%d' expects type 'int', but argument 7 has type 'pcibus_t'
> hw/device-assignment.c: In function 'msix_mmio_writel':
> hw/device-assignment.c:1270: error: format '%lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
> make[1]: *** [device-assignment.o] Error 1
> make: *** [subdir-x86_64-softmmu] Error 2
> 
> Signed-off-by: Kusanagi Kouichi <slash@xxxxxxxxxxxxxxx>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux