aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGiulio Benetti <[email protected]>2018-10-05 23:59:50 +0200
committerMaxime Ripard <[email protected]>2018-10-08 11:20:50 +0200
commit548ae867efb1741fa55cedb5e73d7d0e75acd1f2 (patch)
tree61cf5131d510b313fe3b0e29f54b47067dfce22d /tools/perf/scripts/python/syscall-counts.py
parent84c0851794d40b1f438343b371bb0eaa8d36a4a3 (diff)
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions