summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
index 8d95dd35..0f3d762d 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
@@ -357,7 +357,7 @@ static int nvgpu_gpu_ioctl_set_mmu_debug_mode(
357 struct nvgpu_gpu_mmu_debug_mode_args *args) 357 struct nvgpu_gpu_mmu_debug_mode_args *args)
358{ 358{
359 if (gk20a_busy(g)) { 359 if (gk20a_busy(g)) {
360 nvgpu_err(g, "failed to power on gpu\n"); 360 nvgpu_err(g, "failed to power on gpu");
361 return -EINVAL; 361 return -EINVAL;
362 } 362 }
363 363
@@ -559,7 +559,7 @@ static inline int get_timestamps_zipper(struct gk20a *g,
559 unsigned int i = 0; 559 unsigned int i = 0;
560 560
561 if (gk20a_busy(g)) { 561 if (gk20a_busy(g)) {
562 nvgpu_err(g, "GPU not powered on\n"); 562 nvgpu_err(g, "GPU not powered on");
563 err = -EINVAL; 563 err = -EINVAL;
564 goto end; 564 goto end;
565 } 565 }
@@ -598,7 +598,7 @@ static int nvgpu_gpu_get_cpu_time_correlation_info(
598 get_cpu_timestamp = get_cpu_timestamp_timeofday; 598 get_cpu_timestamp = get_cpu_timestamp_timeofday;
599 break; 599 break;
600 default: 600 default:
601 nvgpu_err(g, "invalid cpu clock source id\n"); 601 nvgpu_err(g, "invalid cpu clock source id");
602 return -EINVAL; 602 return -EINVAL;
603 } 603 }
604 604
@@ -663,7 +663,7 @@ static int nvgpu_gpu_get_engine_info(
663 break; 663 break;
664 664
665 default: 665 default:
666 nvgpu_err(g, "Unmapped engine enum %u\n", 666 nvgpu_err(g, "Unmapped engine enum %u",
667 engine_enum); 667 engine_enum);
668 continue; 668 continue;
669 } 669 }