diff options
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-06-17 17:34:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 14:41:18 -0700 |
| commit | b3e6916d6edfdf12505efbfb4a019e8a96f2c674 (patch) | |
| tree | 4445b9e09fc52df074a2f8f7e44ee5425eb7e7e8 /scripts/mod/file2alias.c | |
| parent | staging: wilc1000: arrays can't be NULL (diff) | |
| download | linux-b3e6916d6edfdf12505efbfb4a019e8a96f2c674.tar.gz linux-b3e6916d6edfdf12505efbfb4a019e8a96f2c674.zip | |
staging: wilc1000: fix return value check in wlan_initialize_threads()
In case of error, the function kthread_run() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
