summary refs log tree commit diff stats
path: root/hw/usb/host-libusb.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-07-10 20:08:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-16 20:00:20 +0200
commit24b41d66c8ad8f77839fca777b92e365dad0cf5c (patch)
treebae882664ca457f0553f47dde1bf54956817619b /hw/usb/host-libusb.c
parent5348c62cab309b68ecd13a33c9f21e8d6071af72 (diff)
downloadfocaccia-qemu-24b41d66c8ad8f77839fca777b92e365dad0cf5c.tar.gz
focaccia-qemu-24b41d66c8ad8f77839fca777b92e365dad0cf5c.zip
RDMA: Fix error exits
The error checks I added used 'break' after the error, but I'm
in a switch inside the while loop, so they need to be 'goto out'.

Spotted by coverity; entries 1311368 and 1311369

Fixes: afcddefd

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1436555332-19076-1-git-send-email-dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb/host-libusb.c')
0 files changed, 0 insertions, 0 deletions