Commit e7d22bc3 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie

i915: add missing return in error path.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 2bdf00b2
......@@ -146,6 +146,7 @@ i915_gem_pread_ioctl(struct drm_device *dev, void *data,
if (ret != 0) {
drm_gem_object_unreference(obj);
mutex_unlock(&dev->struct_mutex);
return ret;
}
offset = args->offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment