Re: [Qemu-devel] [PATCH] usb: Simplify the parameter parsing of the legacy usb serial device

2017-05-19 Thread Paolo Bonzini
On 19/05/2017 09:00, Thomas Huth wrote: > Coverity complains about the current code, so let's get rid of > the now unneeded while loop and simply always emit "unrecognized > serial USB option" for all unsupported options. > > Signed-off-by: Thomas Huth > --- > hw/usb/dev-serial.c | 21 +---

[Qemu-devel] [PATCH] usb: Simplify the parameter parsing of the legacy usb serial device

2017-05-19 Thread Thomas Huth
Coverity complains about the current code, so let's get rid of the now unneeded while loop and simply always emit "unrecognized serial USB option" for all unsupported options. Signed-off-by: Thomas Huth --- hw/usb/dev-serial.c | 21 + 1 file changed, 5 insertions(+), 16 delet