summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vm.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vm.c b/drivers/gpu/nvgpu/common/linux/vm.c
index 52b2f30c..75572b93 100644
--- a/drivers/gpu/nvgpu/common/linux/vm.c
+++ b/drivers/gpu/nvgpu/common/linux/vm.c
@@ -285,6 +285,7 @@ int nvgpu_vm_map_buffer(struct vm_gk20a *vm,
285 nvgpu_err(g, 285 nvgpu_err(g,
286 "buf size %llx < (offset(%llx) + map_size(%llx))\n", 286 "buf size %llx < (offset(%llx) + map_size(%llx))\n",
287 (u64)dmabuf->size, buffer_offset, mapping_size); 287 (u64)dmabuf->size, buffer_offset, mapping_size);
288 dma_buf_put(dmabuf);
288 return -EINVAL; 289 return -EINVAL;
289 } 290 }
290 291