summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-10-08 16:58:00 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-09 16:32:22 +0300
commit893da0c9bcb26acf1ac277f29231bb2a3b0aa95c (patch)
tree4fd72ad7489c195ff48515b99931bf3f212f524e /tools/perf/scripts/python
parent506a8e87d8d2746b9e9d2433503fe237c54e4750 (diff)
downloadlinux-893da0c9bcb26acf1ac277f29231bb2a3b0aa95c.tar.xz
drm/i915: check for return value
We were not checking the return value of drm_encoder_init() which can fail. And if it fails then we will be working with an uninitialized encoder. Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1444312681-10149-2-git-send-email-sudipm.mukherjee@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions