aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-09-14 14:30:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 11:28:23 +0200
commitbbf26183b7a6236ba602f4d6a2f7cade35bba043 (patch)
tree7dc0c8b71b9984c3237dcd7b285f5c1fd7b8668b /drivers/usb/core
parentuwb: ensure that endpoint is interrupt (diff)
downloadlinux-dev-bbf26183b7a6236ba602f4d6a2f7cade35bba043.tar.xz
linux-dev-bbf26183b7a6236ba602f4d6a2f7cade35bba043.zip
uwb: properly check kthread_run return value
uwbd_start() calls kthread_run() and checks that the return value is not NULL. But the return value is not NULL in case kthread_run() fails, it takes the form of ERR_PTR(-EINTR). Use IS_ERR() instead. Also add a check to uwbd_stop(). Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions