summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
index c7adb76c..2502ff30 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -203,7 +203,7 @@ static int gk20a_init_error_notifier(struct channel_gk20a *ch,
203 203
204 if (end > dmabuf->size || end < sizeof(struct nvgpu_notification)) { 204 if (end > dmabuf->size || end < sizeof(struct nvgpu_notification)) {
205 dma_buf_put(dmabuf); 205 dma_buf_put(dmabuf);
206 nvgpu_err(ch->g, "gk20a_init_error_notifier: invalid offset\n"); 206 nvgpu_err(ch->g, "gk20a_init_error_notifier: invalid offset");
207 return -EINVAL; 207 return -EINVAL;
208 } 208 }
209 209
@@ -462,7 +462,7 @@ static int gk20a_channel_wait(struct channel_gk20a *ch,
462 462
463 if (end > dmabuf->size || end < sizeof(struct notification)) { 463 if (end > dmabuf->size || end < sizeof(struct notification)) {
464 dma_buf_put(dmabuf); 464 dma_buf_put(dmabuf);
465 nvgpu_err(g, "invalid notifier offset\n"); 465 nvgpu_err(g, "invalid notifier offset");
466 return -EINVAL; 466 return -EINVAL;
467 } 467 }
468 468