staging: unisys/uislib: kthread_create() returns an ERR_PTR
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Mar 2014 11:18:17 +0000 (14:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:42:14 +0000 (22:42 -0800)
commita16a027651359429b7a534edf8b82aac8f6482d5
treece2d4e871b62fdab491a8243221fb4448c166dd0
parentd66b744ac6f7366abf4baf22c81a570956c47fe4
staging: unisys/uislib: kthread_create() returns an ERR_PTR

kthread_create() returns an ERR_PTR on error, it never returns NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uisthread.c