summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_buffer.c
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-12-26 13:39:50 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-22 09:58:25 +0100
commit8b78f0e588e22c3d5a8cd3ac260023ae7f942828 (patch)
tree8ae43bfce2065aac19a686b725a326a59cf60ead /drivers/gpu/drm/drm_buffer.c
parentc3d19d3c3fb0085fbfb81f546abb8d50fdf58d17 (diff)
drm/i915: Clarify relocation errnos
While trying to find a random -EINVAL from a failing test, I noticed we had a few hard to follow return values. The first two hunks in this patch replace completely useless initialization of ret. The last several hunks help to distinguish between altering 'return ret' and 'return <ERROR>' Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_buffer.c')
0 files changed, 0 insertions, 0 deletions