diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-17 18:05:36 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:57:24 +0300 |
| commit | d298ec65803b48a764ae9ccf2ed2238669a4d02b (patch) | |
| tree | d6f950559598298943cdde604a7f47c171032aea /scripts | |
| parent | b04451d7dfac891daaab2eb88422839660560ba4 (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
