summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-17 18:06:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 10:57:24 +0300
commitb04451d7dfac891daaab2eb88422839660560ba4 (patch)
tree18ba1f5d16a9ab4e4c67fd194b39e839531779a7 /scripts
parentcf8e732b54b6250086c6bbef22a97e423f90c8f4 (diff)
downloadlinux-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