From e8e8e29ce78da927a287c0fca469928f8ce0fc7e Mon Sep 17 00:00:00 2001 From: Vandana Salve Date: Thu, 30 Jun 2016 13:21:31 +0530 Subject: gpu: nvgpu: fix coverity issue Fix coverity defects, Resource leak Coverity id 33601 Bug 1781383 Change-Id: I5eef698d9a2dfccd48199c628a7898351cb74445 Signed-off-by: Vandana Salve Reviewed-on: http://git-master/r/1173660 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade Reviewed-by: Vijayakumar Subbu GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani --- drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu') 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) err = gk20a_init_pmu(pmu); if (err) { gm20b_dbg_pmu("failed to set function pointers\n"); - goto release_desc; + goto release_sig; } lsf_desc = kzalloc(sizeof(struct lsf_ucode_desc), GFP_KERNEL); -- cgit v1.2.2