summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-17 18:05:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 10:57:24 +0300
commitd298ec65803b48a764ae9ccf2ed2238669a4d02b (patch)
treed6f950559598298943cdde604a7f47c171032aea /scripts/basic
parentb04451d7dfac891daaab2eb88422839660560ba4 (diff)
downloadlinux-d298ec65803b48a764ae9ccf2ed2238669a4d02b.tar.xz
staging: bcm2708_vchiq: fix return value check in vchiq_init_state()
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/basic')
0 files changed, 0 insertions, 0 deletions