summaryrefslogtreecommitdiff
path: root/include/uapi/drm/i915_drm.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-14 22:54:25 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-15 10:31:46 +0100
commitf4bf77b49516e12e89c7de89a343accd6cbe87f2 (patch)
tree0084404ebf4cf201cc73b3943cbfe2eff29e797f /include/uapi/drm/i915_drm.h
parentbe02f7556447a0dee672acb5e462f03377b98ae8 (diff)
drm/i915: set "ret" correctly on error paths
If "crtc" is NULL, then my static checker complains that "ret" isn't initialized on that path. It doesn't really cause a problem unless "ret" is somehow set to -EDEADLK which is not likely. Chris Wilson also noticed another error path where "ret" isn't set correctly. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170414195425.GA8144@mwanda Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
0 files changed, 0 insertions, 0 deletions