diff options
author | Maxime Ripard <[email protected]> | 2016-09-19 22:17:51 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2016-09-22 10:13:08 +0300 |
commit | e4192089fe5320537fd88aa29721277efef64af4 (patch) | |
tree | d4b88d9c1104621d815bb6725c150974668d3b10 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c222f399045de480d4af0b9e4cdfff1a083e3e1d (diff) |
drm/sun4i: tv: Check mode pointer
The drm_mode_create call might return NULL in case of a failure, and the
current code doesn't check for that. Make sure it does.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions