diff options
author | Vandana Salve <vsalve@nvidia.com> | 2016-06-30 03:51:31 -0400 |
---|---|---|
committer | Vandana Salve <vsalve@nvidia.com> | 2016-07-04 04:50:47 -0400 |
commit | e8e8e29ce78da927a287c0fca469928f8ce0fc7e (patch) | |
tree | 2a584e0fc63f7c8f5387f6c2e9f4b845bdc76181 | |
parent | 1002f40a3bb54db6e40be77b836437ccb2f3aa96 (diff) |
gpu: nvgpu: fix coverity issue
Fix coverity defects, Resource leak
Coverity id 33601
Bug 1781383
Change-Id: I5eef698d9a2dfccd48199c628a7898351cb74445
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/1173660
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 7ef6be09..eb9ae08c 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -146,7 +146,7 @@ static int pmu_ucode_details(struct gk20a *g, struct flcn_ucode_img *p_img) | |||
146 | err = gk20a_init_pmu(pmu); | 146 | err = gk20a_init_pmu(pmu); |
147 | if (err) { | 147 | if (err) { |
148 | gm20b_dbg_pmu("failed to set function pointers\n"); | 148 | gm20b_dbg_pmu("failed to set function pointers\n"); |
149 | goto release_desc; | 149 | goto release_sig; |
150 | } | 150 | } |
151 | 151 | ||
152 | lsf_desc = kzalloc(sizeof(struct lsf_ucode_desc), GFP_KERNEL); | 152 | lsf_desc = kzalloc(sizeof(struct lsf_ucode_desc), GFP_KERNEL); |