projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdf00b
)
i915: add missing return in error path.
author
Dave Airlie
<airlied@redhat.com>
Tue, 7 Oct 2008 03:40:36 +0000
(13:40 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Fri, 17 Oct 2008 21:10:52 +0000
(07:10 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 6a89449f31d1978504cbabed41a802de171942e9..a31ee3202f17baf9025ddbe94fedf89677bc30da 100644
(file)
--- 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,
if (ret != 0) {
drm_gem_object_unreference(obj);
mutex_unlock(&dev->struct_mutex);
+ return ret;
}
offset = args->offset;