提交 e7d22bc3 编写于 作者: D Dave Airlie 提交者: Dave Airlie

i915: add missing return in error path.

Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册