diff options
author | Bibek Basu <bbasu@nvidia.com> | 2015-07-20 14:26:31 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2015-07-23 08:11:34 -0700 |
commit | 746a0c437970ccb0cb91a2e261c3e5dc182ee099 (patch) | |
tree | bacb079d688c7672b60f2a315a6507923762fc73 | |
parent | 8d39aea9f580e1be7131a63ccf0604585f8104d7 (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>
-rw-r--r-- | arch/arm/mach-tegra/board-panel.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-panel.c b/arch/arm/mach-tegra/board-panel.c index f44b7785c811..c8e6924fe622 100644 --- a/arch/arm/mach-tegra/board-panel.c +++ b/arch/arm/mach-tegra/board-panel.c @@ -100,7 +100,7 @@ int tegra_panel_gpio_get_dt(const char *comp_str, struct tegra_panel_of *panel) { int cnt = 0; - char *label; + char *label = NULL; const char *node_status; int err = 0; struct device_node *node = 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(""); |