OSDN Git Service

xhci: add sanity checks to xhci_lookup_uport
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 7 Nov 2014 09:41:25 +0000 (10:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Nov 2014 07:48:16 +0000 (08:48 +0100)
commitf2ad97ff81da51c064b9e87720ff48a0874f45d4
tree54dbfabee03ae86516e4375d320fc2e72e24aae5
parent1e03e407845c5d698f82a262312bca5aa2406d59
xhci: add sanity checks to xhci_lookup_uport

Also catch xhci_lookup_uport failures in post_load.

https://bugzilla.redhat.com/show_bug.cgi?id=1074219

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c