Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i915: add missing return in error path.

Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Dave Airlie and committed by
Dave Airlie
e7d22bc3 2bdf00b2

+1
+1
drivers/gpu/drm/i915/i915_gem.c
··· 146 146 if (ret != 0) { 147 147 drm_gem_object_unreference(obj); 148 148 mutex_unlock(&dev->struct_mutex); 149 + return ret; 149 150 } 150 151 151 152 offset = args->offset;