Re: [Qemu-devel] [PATCH 4/4] Added error checking for msix_init.

2016-10-16 Thread Stefan Hajnoczi
On Sun, Oct 16, 2016 at 12:53:16AM -, Shreya Shrivastava wrote: > Add checks for negative return value to uses of msix_init. > Signed-off-by: Shreya Shrivastava > > --- > hw/usb/hcd-xhci.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/usb/hcd-xhci.c b/hw/usb/

[Qemu-devel] [PATCH 4/4] Added error checking for msix_init.

2016-10-15 Thread Shreya Shrivastava
Add checks for negative return value to uses of msix_init. Signed-off-by: Shreya Shrivastava --- hw/usb/hcd-xhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 4acf0c6..cb854aa 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xh