qemu/hw/input
Philippe Mathieu-Daudé e67e91b4b5 hw/input/tsc210x: Fix building with no verbosity
When building with TSC_VERBOSE not defined, we get:
      CC      arm-softmmu/hw/input/tsc210x.o
    hw/input/tsc210x.c: In function ‘tsc2102_data_register_write’:
    hw/input/tsc210x.c:554:5: error: label at end of compound statement
         default:
         ^~~~~~~
    hw/input/tsc210x.c: In function ‘tsc2102_control_register_write’:
    hw/input/tsc210x.c:638:5: error: label at end of compound statement
         bad_reg:
         ^~~~~~~
    hw/input/tsc210x.c: In function ‘tsc2102_audio_register_write’:
    hw/input/tsc210x.c:766:5: error: label at end of compound statement
         default:
         ^~~~~~~
    make[1]: *** [rules.mak:69: hw/input/tsc210x.o] Error 1

Fix this by replacing the culprit fprintf(stderr) calls by a more
recent API: qemu_log_mask(LOG_GUEST_ERROR). Other fprintf() calls
are left untouched.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190204204517.23698-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-02-06 15:57:06 +01:00
..
adb-internal.h Split adb.c into adb.c, adb-mouse.c and adb-kbd.c 2017-12-21 20:11:28 +01:00
adb-kbd.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
adb-mouse.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
adb.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
hid.c hw/input/hid: Add support for several keys. 2017-12-18 17:07:02 +03:00
lm832x.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
Makefile.objs hw: make virtio devices configurable via default-configs/ 2018-06-01 15:14:31 +02:00
milkymist-softusb.c milkymist-softusb: Convert sysbus init function to realize function 2018-12-13 13:47:58 +00:00
pckbd.c hw: input: set category of the i8042 device 2019-01-30 10:19:32 +01:00
pl050.c input/pl050: Convert sysbus init function to realize function 2018-12-13 13:47:59 +00:00
ps2.c qmp hmp: Make system_wakeup check wake-up support and run state 2018-12-18 07:55:47 +01:00
pxa2xx_keypad.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
stellaris_input.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
trace-events hw/input/tsc2005: Convert a fprintf() call to trace events 2018-06-29 15:04:18 +01:00
tsc210x.c hw/input/tsc210x: Fix building with no verbosity 2019-02-06 15:57:06 +01:00
tsc2005.c hw/input/tsc2005: Convert a fprintf() call to trace events 2018-06-29 15:04:18 +01:00
virtio-input-hid.c hw: convert virtio-input-hid device to keycodemapdb 2018-01-29 09:35:44 +01:00
virtio-input-host.c virtio-input: support absolute axis config in pass-through 2016-04-13 17:26:12 +02:00
virtio-input.c virtio-input: fix eventq batching 2017-03-27 12:14:45 +02:00