2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/uwb
Andrey Konovalov bbf26183b7 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>
2017-09-18 11:28:23 +02:00
..
i1480 uwb: i1480: add missing goto 2017-05-25 14:30:13 +02:00
address.c
allocator.c
beacon.c
driver.c uwb: use class_groups instead of class_attrs 2017-06-09 10:41:00 +02:00
drp-avail.c
drp-ie.c
drp.c
est.c
hwa-rc.c uwb: ensure that endpoint is interrupt 2017-09-18 11:28:23 +02:00
ie-rcv.c
ie.c
Kconfig
lc-dev.c
lc-rc.c uwb: lc-rc: constify attribute_group structures. 2017-08-10 11:31:27 -07:00
Makefile
neh.c
pal.c
radio.c
reset.c
rsv.c
scan.c
umc-bus.c
umc-dev.c
umc-drv.c
uwb-debug.c
uwb-internal.h
uwbd.c uwb: properly check kthread_run return value 2017-09-18 11:28:23 +02:00
whc-rc.c
whci.c