The following changes since commit 5edbd4e30426d3a0d712510b2509a521e35192b1:
Merge remote-tracking branch 'remotes/otubo/tags/pull-seccomp-20160620' into staging (2016-06-20 12:53:35 +0100) are available in the git repository at: git://repo.or.cz/qemu/armbru.git tags/pull-error-2016-06-20 for you to fetch changes up to daa76aa416b1e18ab1fac650ff53d966d8f21f68: log: Fix qemu_set_log_filename() error handling (2016-06-20 16:39:08 +0200) ---------------------------------------------------------------- Error reporting patches for 2016-06-20 ---------------------------------------------------------------- Eduardo Habkost (3): error: Remove NULL checks on error_propagate() calls error: Remove unnecessary local_err variables coccinelle: Remove unnecessary variables for function return value Markus Armbruster (4): vl: Error messages need to go to stderr, fix some log: Plug memory leak on multiple -dfilter log: Fix qemu_set_dfilter_ranges() error reporting log: Fix qemu_set_log_filename() error handling audio/audio.c | 10 +-- block.c | 20 ++--- block/archipelago.c | 4 +- block/qcow2-cluster.c | 6 +- block/qcow2-refcount.c | 7 +- block/qcow2.c | 4 +- block/quorum.c | 4 +- block/raw-posix.c | 24 +---- block/raw_bsd.c | 9 +- block/rbd.c | 4 +- block/snapshot.c | 4 +- block/vmdk.c | 6 +- block/vvfat.c | 5 +- blockdev.c | 12 +-- bootdevice.c | 4 +- bsd-user/main.c | 3 +- dump.c | 4 +- hw/acpi/aml-build.c | 13 +-- hw/audio/intel-hda.c | 5 +- hw/display/vga.c | 4 +- hw/ide/qdev.c | 4 +- hw/intc/s390_flic_kvm.c | 5 +- hw/net/ne2000-isa.c | 4 +- hw/pci-host/uninorth.c | 5 +- hw/ppc/spapr_vio.c | 5 +- hw/s390x/s390-virtio-ccw.c | 4 +- hw/s390x/virtio-ccw.c | 42 ++------- hw/scsi/megasas.c | 5 +- hw/scsi/scsi-generic.c | 5 +- hw/timer/mc146818rtc.c | 4 +- hw/usb/dev-storage.c | 4 +- hw/virtio/virtio-pci.c | 4 +- include/qemu/log.h | 4 +- linux-user/main.c | 3 +- linux-user/signal.c | 15 +--- monitor.c | 7 +- page_cache.c | 5 +- qga/commands-posix.c | 4 +- qga/commands-win32.c | 13 +-- qobject/qlist.c | 5 +- qom/object.c | 4 +- scripts/coccinelle/error_propagate_null.cocci | 10 +++ scripts/coccinelle/remove_local_err.cocci | 29 ++++++ scripts/coccinelle/return_directly.cocci | 19 ++++ target-i386/cpu.c | 4 +- target-i386/fpu_helper.c | 10 +-- target-i386/kvm.c | 5 +- target-mips/op_helper.c | 4 +- target-s390x/helper.c | 6 +- target-sparc/cc_helper.c | 25 ++---- target-tricore/op_helper.c | 13 +-- tests/display-vga-test.c | 6 +- tests/endianness-test.c | 5 +- tests/i440fx-test.c | 4 +- tests/intel-hda-test.c | 6 +- tests/test-filter-redirector.c | 6 +- tests/test-logging.c | 88 +++++-------------- tests/virtio-blk-test.c | 5 +- tests/virtio-console-test.c | 6 +- tests/virtio-net-test.c | 6 +- tests/virtio-scsi-test.c | 6 +- tests/wdt_ib700-test.c | 6 +- trace/control.c | 3 +- ui/cursor.c | 10 +-- ui/qemu-pixman.c | 13 ++- util/log.c | 122 ++++++++++++++------------ util/module.c | 6 +- vl.c | 17 ++-- 68 files changed, 265 insertions(+), 478 deletions(-) create mode 100644 scripts/coccinelle/error_propagate_null.cocci create mode 100644 scripts/coccinelle/remove_local_err.cocci create mode 100644 scripts/coccinelle/return_directly.cocci -- 2.5.5