Skip to content

Commit

Permalink
i915: add missing return in error path.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Oct 17, 2008
1 parent 2bdf00b commit e7d22bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7d22bc

Please sign in to comment.