diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-02-17 11:13:26 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-07 22:15:15 +0100 |
commit | 92b300c4e6f7f6fc22e1cc02d7c07627769a6339 (patch) | |
tree | ed7768931cfe0849098195ca14a819a2e35d91b6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9d56defb44b15427f4342c543a70fb7886fc06f5 (diff) |
drm/sun4i: Check return value of drm_vblank_init
drm_vblank_init can fail due to insufficient memory. Ignoring the error
and proceeding may cause the kernel to dereference an invalid pointer
when vblank is enabled.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions