diff options
author | Sanjay Singh Rawat <srawat@nvidia.com> | 2012-07-06 18:08:12 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-07-09 16:38:54 -0700 |
commit | dc740e3692d951b15a598644f10f298e72d4312f (patch) | |
tree | ac14198f16afcd993c977cd4ee85c2981bbb88f4 /drivers/video/tegra/host/nvhost_job.c | |
parent | 9985ff4377dabeed91a3595063944615a57739cb (diff) |
video: tegra: host: resolve compilation time warnings
- Handled warning of, possible use of uninitialized variable and unused
function.
bug 949219
Change-Id: I0d7d345e66774f08e52a12e653a5e7aa6a7a8591
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/113905
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/video/tegra/host/nvhost_job.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/nvhost_job.c b/drivers/video/tegra/host/nvhost_job.c index fb8a61c884e9..f93d7df1a552 100644 --- a/drivers/video/tegra/host/nvhost_job.c +++ b/drivers/video/tegra/host/nvhost_job.c @@ -160,7 +160,7 @@ void nvhost_job_add_gather(struct nvhost_job *job, static int do_relocs(struct nvhost_job *job, u32 cmdbuf_mem, void *cmdbuf_addr) { - phys_addr_t target_phys; + phys_addr_t target_phys = -EINVAL; int i; u32 mem_id = 0; struct mem_handle *target_ref = NULL; |