Re: [Qemu-devel] [PATCH] usb: ohci: make num_ports to an unsinged integer

2018-10-29 Thread Gerd Hoffmann
On Mon, Oct 22, 2018 at 08:00:18PM -0700, Li Qiang wrote: > This can avoid setting OCHIState.num_ports to a negative num. Added to usb queue. thanks, Gerd

[Qemu-devel] [PATCH] usb: ohci: make num_ports to an unsinged integer

2018-10-22 Thread Li Qiang
This can avoid setting OCHIState.num_ports to a negative num. Signed-off-by: Li Qiang --- hw/usb/hcd-ohci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 66656a1..c34cf5b 100644 --- a/hw/usb/hcd-ohci.c +++