Re: [Qemu-devel] [PATCH v2 0/4] 3 easy-to-fix clang warnings, 1 error code fixed

2017-04-23 Thread Michael Tokarev
08.04.2017 01:20, Philippe Mathieu-Daudé wrote: > 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 thos

[Qemu-devel] [PATCH v2 0/4] 3 easy-to-fix clang warnings, 1 error code fixed

2017-04-07 Thread Philippe Mathieu-Daudé
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) smart