xhci: Add missing checks for xhci_alloc_command failure
authorHans de Goede <hdegoede@redhat.com>
Fri, 25 Jul 2014 20:01:21 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 22:58:59 +0000 (15:58 -0700)
commita0ee619f3ce8d8478c0cdd944b6cb24453ab6297
tree05086014d9e8f3d4b08c22531ded0a00c9203dc4
parent170625e99485aac578c83fb4aa2bcd9f589570ef
xhci: Add missing checks for xhci_alloc_command failure

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c