diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c index d530492a..1989a5cb 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |||
@@ -1561,7 +1561,7 @@ static int nvgpu_dbg_gpu_ioctl_access_fb_memory(struct dbg_session_gk20a *dbg_s, | |||
1561 | u64 access_limit_size = SZ_4K; | 1561 | u64 access_limit_size = SZ_4K; |
1562 | int err = 0; | 1562 | int err = 0; |
1563 | 1563 | ||
1564 | if ((args->offset & 3) || (!args->size) || (args->size & 3)) | 1564 | if ((args->offset & 3) || (!args->size)) |
1565 | return -EINVAL; | 1565 | return -EINVAL; |
1566 | 1566 | ||
1567 | dmabuf = dma_buf_get(args->dmabuf_fd); | 1567 | dmabuf = dma_buf_get(args->dmabuf_fd); |