Home
last modified time | relevance | path

Searched hist:ff668537b6ec172b797091d11a228a97c4bfca8e (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dhcd-uhci.cdiff ff668537b6ec172b797091d11a228a97c4bfca8e Wed Feb 06 07:36:53 CST 2019 Liam Merwick <liam.merwick@oracle.com> uhci: check device is not NULL before calling usb_ep_get()

In uhci_handle_td(), the call to ehci_find_device() can return NULL
if it doesn't find a device matching 'addr' so explicitly check
the return value before passing it to usb_ep_get().

Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Message-id: 1549460216-25808-7-git-send-email-liam.merwick@oracle.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>