diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
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 52053c14..9cc4f58e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2050,7 +2050,7 @@ int nvgpu_vm_map_buffer(struct vm_gk20a *vm, | |||
2050 | /* get ref to the mem handle (released on unmap_locked) */ | 2050 | /* get ref to the mem handle (released on unmap_locked) */ |
2051 | dmabuf = dma_buf_get(dmabuf_fd); | 2051 | dmabuf = dma_buf_get(dmabuf_fd); |
2052 | if (IS_ERR(dmabuf)) { | 2052 | if (IS_ERR(dmabuf)) { |
2053 | dev_warn(dev_from_vm(vm), "%s: fd %d is not a dmabuf", | 2053 | nvgpu_warn(gk20a_from_vm(vm), "%s: fd %d is not a dmabuf", |
2054 | __func__, dmabuf_fd); | 2054 | __func__, dmabuf_fd); |
2055 | return PTR_ERR(dmabuf); | 2055 | return PTR_ERR(dmabuf); |
2056 | } | 2056 | } |