Liam Merwick 42340fc31f ohci: check device is not NULL before calling usb_ep_get()
A call to ohci_find_device() can return NULL if it doesn't find a
device matching 'addr' so for the two callers, 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-6-git-send-email-liam.merwick@oracle.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-02-20 09:41:23 +01:00
..
2019-02-20 09:41:23 +01:00
2018-06-01 19:20:38 +03:00
2016-02-23 12:43:05 +00:00
2019-01-11 15:46:55 +01:00
2017-05-29 14:03:35 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2018-11-27 15:35:15 +01:00