aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorGiulio Benetti <[email protected]>2018-10-05 21:59:50 +0000
committerMaxime Ripard <[email protected]>2018-11-06 15:55:24 +0000
commit7f4cedd882f7cae83177066c2b239ef457ce4a42 (patch)
tree016de1a53bbe2bc25c70ce834533089fac2db49f /tools/perf/scripts/python/futex-contention.py
parentLinux 4.20-rc1 (diff)
downloadkernel-7f4cedd882f7cae83177066c2b239ef457ce4a42.tar.gz
kernel-7f4cedd882f7cae83177066c2b239ef457ce4a42.zip
drm/sun4i: tcon: fix check of tcon->panel null pointer
Since tcon->panel is a pointer returned by of_drm_find_panel() need to check if it is not NULL, hence a valid pointer. IS_ERR() instead checks return error values, not NULL pointers. Substitute "if (!IS_ERR(tcon->panel))" with "if (tcon->panel)". Signed-off-by: Giulio Benetti <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions