This patchset fixes three easy-to-fix unrelated clang warnings, so it was probably better to send them separately the first time.
v2: - hw/usb/dev-smartcard-reader.c: The first patch was treating NULL and 0 as errors but those values are legal in some cases, i.e. no (virtual) smartcard inserted into the card reader (Gerd Hoffmann's review). - device_tree.c: Added Marc-André Lureau's Reviewed-by. - qga/commands-posix.c: Added a commit to improve failed operation, as suggested by Michael Roth. Philippe Mathieu-Daudé (4): usb-ccid: make ccid_write_data_block() cope with null buffers device_tree: fix compiler warnings (clang 5) qga: fix compiler warnings (clang 5) qga: improve error handling in transfer_memory_block device_tree.c | 1 + hw/usb/dev-smartcard-reader.c | 5 ++++- qga/commands-posix.c | 11 ++++++++--- 3 files changed, 13 insertions(+), 4 deletions(-) -- 2.11.0