summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2015-07-20 14:26:31 +0530
committerMatthew Pedro <mapedro@nvidia.com>2015-07-23 08:11:34 -0700
commit746a0c437970ccb0cb91a2e261c3e5dc182ee099 (patch)
treebacb079d688c7672b60f2a315a6507923762fc73 /drivers
parent8d39aea9f580e1be7131a63ccf0604585f8104d7 (diff)
arm: tegra: fix debug build issue
Initialize uninitialized variables to get the build through Bug 1640594 Change-Id: Ia0788c5852bb8d68a79004e3f2fa1b3d2b9ca2fe Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/772239 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'drivers')
-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 13da5e8098c2..4899319087a9 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -2550,7 +2550,7 @@ static int pmu_handle_perfmon_event(struct pmu_gk20a *pmu,
static int pmu_handle_event(struct pmu_gk20a *pmu, struct pmu_msg *msg)
{
- int err;
+ int err = 0;
gk20a_dbg_fn("");