aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 6a89449f31d1..a31ee3202f17 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -146,6 +146,7 @@ i915_gem_pread_ioctl(struct drm_device *dev, void *data,
146 if (ret != 0) { 146 if (ret != 0) {
147 drm_gem_object_unreference(obj); 147 drm_gem_object_unreference(obj);
148 mutex_unlock(&dev->struct_mutex); 148 mutex_unlock(&dev->struct_mutex);
149 return ret;
149 } 150 }
150 151
151 offset = args->offset; 152 offset = args->offset;