xhci: fix overflow in usb_xhci_post_load
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Jan 2014 16:03:10 +0000 (17:03 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 18 Feb 2014 14:39:12 +0000 (15:39 +0100)
commitf6969b9fef543da1ffa975d24f4d7b75dc369b03
treecad1839e9446e9498830c66d376620cd3ff9abb2
parentbd93976a1ad9cca9636da66dfde98a41e573130c
xhci: fix overflow in usb_xhci_post_load

Found by Coverity.

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