diff options
author | 2016-06-20 10:43:43 +0800 | |
---|---|---|
committer | 2016-07-04 18:49:20 +0800 | |
commit | 43fd0d92300878c81ef97e8bb91074025c4acf0f (patch) | |
tree | 17addde7ac62b04504697fa34ed98dc50a14a491 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next (diff) | |
download | wireguard-linux-43fd0d92300878c81ef97e8bb91074025c4acf0f.tar.xz wireguard-linux-43fd0d92300878c81ef97e8bb91074025c4acf0f.zip |
drm/hisilicon: Fix return value check in ade_dts_parse()
In case of error, the function devm_clk_get() 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: Chen Feng <puck.chen@hisilicon.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions