summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index dcaf11b1..9ec4c867 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -96,7 +96,7 @@ static void print_pmu_trace(struct nvgpu_pmu *pmu)
96 if (k >= 40) 96 if (k >= 40)
97 break; 97 break;
98 strncpy(part_str, (trace+i+20+m), k); 98 strncpy(part_str, (trace+i+20+m), k);
99 part_str[k] = 0; 99 part_str[k] = '\0';
100 count += scnprintf((buf + count), 0x40, "%s0x%x", 100 count += scnprintf((buf + count), 0x40, "%s0x%x",
101 part_str, trace1[(i / 4) + 1 + l]); 101 part_str, trace1[(i / 4) + 1 + l]);
102 l++; 102 l++;