diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-06-18 20:26:37 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-07-16 17:29:28 +0300 |
commit | 2abe1f2509bf4976dce9a220cab3f1424f0cbb0f (patch) | |
tree | 172be60ec0015c227885d0ac45968073b23c7927 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f14270161a236235537338d042015988aac354f9 (diff) | |
download | linux-2abe1f2509bf4976dce9a220cab3f1424f0cbb0f.tar.xz |
drm/msm/dsi: Fix return value check in msm_dsi_host_set_display_mode()
In case of error, the function drm_mode_duplicate() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions