summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index aedd2055..e6bdf52c 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -338,7 +338,7 @@ static int gr_gk20a_wait_fe_idle(struct gk20a *g, unsigned long end_jiffies,
338 338
339 if (!gr_status_fe_method_upper_v(val) && 339 if (!gr_status_fe_method_upper_v(val) &&
340 !gr_status_fe_method_lower_v(val) && 340 !gr_status_fe_method_lower_v(val) &&
341 !gr_status_fe_method_fe_gi_v(val)) { 341 !gr_status_fe_gi_v(val)) {
342 gk20a_dbg_fn("done"); 342 gk20a_dbg_fn("done");
343 return 0; 343 return 0;
344 } 344 }
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 8e2a62de..0f1af8ab 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -2663,7 +2663,7 @@ static int pmu_handle_perfmon_event(struct pmu_gk20a *pmu,
2663 2663
2664static int pmu_handle_event(struct pmu_gk20a *pmu, struct pmu_msg *msg) 2664static int pmu_handle_event(struct pmu_gk20a *pmu, struct pmu_msg *msg)
2665{ 2665{
2666 int err; 2666 int err = 0;
2667 2667
2668 gk20a_dbg_fn(""); 2668 gk20a_dbg_fn("");
2669 2669