Commit message and signed-of-by line is missing.

Apart from that the patch is Reviewed-by: Christian König <christian.koe...@amd.com>.

Regards,
Christian.

Am 13.01.2018 um 00:01 schrieb Samuel Li:
Change-Id: I37daecbf695da13eaeea1d362c270b92a894393a
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
index a14234b..8afec21 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
@@ -221,9 +221,10 @@ struct dma_buf *amdgpu_gem_prime_export(struct drm_device 
*dev,
                return ERR_PTR(-EPERM);
buf = drm_gem_prime_export(dev, gobj, flags);
-       if (!IS_ERR(buf))
+       if (!IS_ERR(buf)) {
                buf->file->f_mapping = dev->anon_inode->i_mapping;
-       buf->ops = &amdgpu_dmabuf_ops;
+               buf->ops = &amdgpu_dmabuf_ops;
+       }
return buf;
  }

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to