diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-17 18:06:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:57:24 +0300 |
| commit | b04451d7dfac891daaab2eb88422839660560ba4 (patch) | |
| tree | 18ba1f5d16a9ab4e4c67fd194b39e839531779a7 /scripts | |
| parent | cf8e732b54b6250086c6bbef22a97e423f90c8f4 (diff) | |
| download | linux-b04451d7dfac891daaab2eb88422839660560ba4.tar.xz | |
staging: bcm2708_vchiq: fix return value check in vchiq_platform_conn_state_changed()
In case of error, the function kthread_create() 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 <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
