usb: u132-hcd: fix potential NULL pointer dereference
authorKangjie Lu <kjlu@umn.edu>
Tue, 19 Mar 2019 17:34:06 +0000 (12:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2019 07:42:53 +0000 (16:42 +0900)
commit3de3dbe7c13210171ba8411e36b409a2c29c7415
treed9fc8d0e0541f683868c4ae1382d35298a6e2e19
parent4c912bff46cc1b37490fda2eac33471ddd0fadf2
usb: u132-hcd: fix potential NULL pointer dereference

In case create_singlethread_workqueue fails, the fix notifies
callers the error to avoid potential NULL pointer dereferences.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/u132-hcd.c