summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-09-14 14:30:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-12 11:27:35 +0200
commit5a21af11c6810b936b17a2c5c69518be0da8f4c3 (patch)
tree40bd5cc7f59de6566b3aad16f2433de9517ed84e /net/unix/af_unix.c
parent8b4196420dd6a60c75b5d1d346a91d87cc013a0f (diff)
uwb: properly check kthread_run return value
commit bbf26183b7a6236ba602f4d6a2f7cade35bba043 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions