summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index dd23023b..b6a556ac 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2607,7 +2607,7 @@ int gk20a_vm_map_buffer(struct gk20a_as_share *as_share,
2607 /* get ref to the mem handle (released on unmap_locked) */ 2607 /* get ref to the mem handle (released on unmap_locked) */
2608 dmabuf = dma_buf_get(dmabuf_fd); 2608 dmabuf = dma_buf_get(dmabuf_fd);
2609 if (IS_ERR(dmabuf)) 2609 if (IS_ERR(dmabuf))
2610 return 0; 2610 return PTR_ERR(dmabuf);
2611 2611
2612 err = gk20a_dmabuf_alloc_drvdata(dmabuf, dev_from_vm(vm)); 2612 err = gk20a_dmabuf_alloc_drvdata(dmabuf, dev_from_vm(vm));
2613 if (err) { 2613 if (err) {