PATCH 1/2 fixes a bug found by compiling the original PATCH 2/2. Evidence for my claim that PATCH 2/2 lets the compiler catch more type errors :)
Markus Armbruster (2): qga: Fix memory allocation pasto Use g_new() & friends where that makes obvious sense aio-posix.c | 2 +- aio-win32.c | 2 +- async.c | 2 +- backends/baum.c | 4 ++-- backends/msmouse.c | 2 +- block-migration.c | 6 ++--- block.c | 8 +++---- block/gluster.c | 4 ++-- block/iscsi.c | 2 +- block/qcow.c | 4 ++-- block/qcow2-cluster.c | 2 +- block/qcow2-refcount.c | 8 +++---- block/qcow2-snapshot.c | 8 +++---- block/raw-posix.c | 2 +- block/rbd.c | 4 ++-- block/sheepdog.c | 4 ++-- block/vdi.c | 2 +- block/vhdx.c | 4 ++-- block/vmdk.c | 7 +++--- block/vvfat.c | 2 +- blockdev-nbd.c | 2 +- blockdev.c | 2 +- bsd-user/syscall.c | 2 +- bt-host.c | 2 +- bt-vhci.c | 2 +- cpus.c | 14 ++++++------ dump.c | 2 +- exec.c | 2 +- gdbstub.c | 4 ++-- hw/9pfs/virtio-9p-handle.c | 2 +- hw/9pfs/virtio-9p-proxy.c | 2 +- hw/9pfs/virtio-9p-synth.c | 4 ++-- hw/9pfs/virtio-9p.c | 6 ++--- hw/arm/integratorcp.c | 2 +- hw/arm/omap1.c | 30 +++++++++---------------- hw/arm/omap2.c | 15 +++++-------- hw/arm/pxa2xx.c | 14 +++++------- hw/arm/stellaris.c | 2 +- hw/arm/strongarm.c | 2 +- hw/audio/intel-hda.c | 2 +- hw/bt/core.c | 4 ++-- hw/bt/hci-csr.c | 3 +-- hw/bt/hci.c | 4 ++-- hw/bt/l2cap.c | 4 ++-- hw/char/mcf_uart.c | 2 +- hw/char/omap_uart.c | 3 +-- hw/char/parallel.c | 2 +- hw/char/serial.c | 4 ++-- hw/char/sh_serial.c | 2 +- hw/char/virtio-serial-bus.c | 6 ++--- hw/core/irq.c | 2 +- hw/core/ptimer.c | 2 +- hw/display/blizzard.c | 2 +- hw/display/omap_dss.c | 3 +-- hw/display/omap_lcdc.c | 3 +-- hw/display/pxa2xx_lcd.c | 2 +- hw/display/qxl.c | 2 +- hw/display/sm501.c | 2 +- hw/display/tc6393xb.c | 2 +- hw/display/xenfb.c | 4 ++-- hw/dma/omap_dma.c | 6 ++--- hw/dma/pxa2xx_dma.c | 2 +- hw/dma/rc4030.c | 6 ++--- hw/gpio/omap_gpio.c | 4 ++-- hw/i2c/bitbang_i2c.c | 2 +- hw/i386/pc.c | 3 +-- hw/ide/ahci.c | 2 +- hw/input/pckbd.c | 2 +- hw/input/ps2.c | 4 ++-- hw/input/pxa2xx_keypad.c | 2 +- hw/input/stellaris_input.c | 4 ++-- hw/input/tsc2005.c | 3 +-- hw/input/tsc210x.c | 6 ++--- hw/intc/heathrow_pic.c | 2 +- hw/intc/i8259.c | 2 +- hw/intc/xics.c | 6 ++--- hw/intc/xics_kvm.c | 4 ++-- hw/lm32/lm32_boards.c | 4 ++-- hw/lm32/lm32_hwsetup.h | 2 +- hw/lm32/milkymist.c | 2 +- hw/m68k/mcf5206.c | 4 ++-- hw/m68k/mcf5208.c | 2 +- hw/m68k/mcf_intc.c | 2 +- hw/mips/mips_malta.c | 2 +- hw/mips/mips_mipssim.c | 2 +- hw/mips/mips_r4k.c | 2 +- hw/misc/applesmc.c | 2 +- hw/misc/ivshmem.c | 8 +++---- hw/misc/macio/mac_dbdma.c | 2 +- hw/misc/omap_clk.c | 2 +- hw/misc/omap_gpmc.c | 3 +-- hw/misc/omap_sdrc.c | 3 +-- hw/misc/vfio.c | 4 ++-- hw/net/dp8393x.c | 2 +- hw/net/mcf_fec.c | 2 +- hw/net/virtio-net.c | 2 +- hw/ppc/e500.c | 4 ++-- hw/ppc/mac_newworld.c | 2 +- hw/ppc/mac_oldworld.c | 2 +- hw/ppc/ppc.c | 8 +++---- hw/ppc/ppc405_boards.c | 4 ++-- hw/ppc/ppc405_uc.c | 28 +++++++++++------------ hw/ppc/ppc440_bamboo.c | 2 +- hw/ppc/ppc4xx_devs.c | 4 ++-- hw/ppc/ppc_booke.c | 4 ++-- hw/ppc/prep.c | 2 +- hw/ppc/virtex_ml507.c | 2 +- hw/s390x/css.c | 4 ++-- hw/s390x/event-facility.c | 2 +- hw/s390x/s390-virtio.c | 2 +- hw/s390x/virtio-ccw.c | 2 +- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/virtio-scsi.c | 2 +- hw/sd/omap_mmc.c | 6 ++--- hw/sd/pxa2xx_mmci.c | 2 +- hw/sd/sd.c | 2 +- hw/sh4/r2d.c | 4 ++-- hw/sh4/sh7750.c | 2 +- hw/sparc/leon3.c | 2 +- hw/sparc64/sun4u.c | 4 ++-- hw/ssi/omap_spi.c | 3 +-- hw/timer/arm_timer.c | 2 +- hw/timer/omap_gptimer.c | 3 +-- hw/timer/sh_timer.c | 4 ++-- hw/timer/slavio_timer.c | 2 +- hw/usb/ccid-card-emulated.c | 4 ++-- hw/usb/hcd-xhci.c | 2 +- hw/usb/redirect.c | 6 ++--- hw/virtio/virtio.c | 2 +- hw/xtensa/xtensa_lx60.c | 2 +- include/qemu/timer.h | 2 +- iohandler.c | 4 ++-- kvm-all.c | 8 +++---- libcacard/cac.c | 2 +- libcacard/card_7816.c | 8 +++---- libcacard/event.c | 2 +- libcacard/vcard.c | 6 ++--- libcacard/vcard_emul_nss.c | 12 +++++----- libcacard/vreader.c | 7 +++--- linux-user/elfload.c | 2 +- linux-user/main.c | 2 +- linux-user/syscall.c | 2 +- main-loop.c | 2 +- memory_mapping.c | 2 +- migration-rdma.c | 16 ++++++------- monitor.c | 4 ++-- nbd.c | 4 ++-- net/queue.c | 2 +- net/slirp.c | 2 +- qemu-char.c | 46 +++++++++++++++++++------------------- qemu-file.c | 10 ++++----- qemu-img.c | 2 +- qemu-io-cmds.c | 2 +- qemu-io.c | 2 +- qemu-timer.c | 2 +- qga/channel-posix.c | 2 +- qga/channel-win32.c | 2 +- qga/commands-posix.c | 10 ++++----- qga/commands-win32.c | 4 ++-- qga/commands.c | 6 ++--- qga/guest-agent-command-state.c | 4 ++-- qga/main.c | 2 +- qobject/json-parser.c | 4 ++-- savevm.c | 12 +++++----- slirp/slirp.c | 2 +- spice-qemu-char.c | 4 ++-- target-i386/kvm.c | 2 +- tcg/tcg.c | 4 ++-- tests/test-qmp-commands.c | 16 ++++++------- tests/test-qmp-output-visitor.c | 2 +- tests/test-visitor-serialization.c | 2 +- translate-all.c | 2 +- ui/console.c | 4 ++-- ui/curses.c | 2 +- ui/input.c | 8 +++---- ui/keymaps.c | 2 +- ui/sdl.c | 2 +- ui/vnc-jobs.c | 6 ++--- ui/vnc.c | 4 ++-- util/hbitmap.c | 4 ++-- util/iov.c | 4 ++-- util/qemu-option.c | 2 +- util/uri.c | 2 +- vl.c | 6 ++--- xen-all.c | 8 +++---- xen-mapcache.c | 14 ++++++------ 186 files changed, 376 insertions(+), 415 deletions(-) -- 1.8.1.4