OpenCloudOS-Kernel/drivers/gpu/drm/nouveau/nvkm/subdev/secboot
Christophe JAILLET 563ad2b640 drm/nouveau/secboot: plug memory leak in ls_ucode_img_load_gr() error path
The last goto looks spurious because it releases less resources than the
previous one.
Also free 'img->sig' if 'ls_ucode_img_build()' fails.

Fixes: 9d896f3e41 ("drm/nouveau/secboot: abstract LS firmware loading functions")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-05-17 09:09:41 +10:00
..
Kbuild drm/nouveau/secboot: add GP10B support 2017-04-06 14:39:04 +10:00
acr.c drm/nouveau/secboot: reorganize into more files 2017-02-17 15:14:31 +10:00
acr.h drm/nouveau/secboot: allow to boot multiple falcons 2017-04-06 14:39:03 +10:00
acr_r352.c drm/nouveau/secboot: start LS firmware in post-run hook 2017-04-06 14:39:04 +10:00
acr_r352.h drm/nouveau/secboot: let LS post_run hooks return error 2017-04-06 14:39:04 +10:00
acr_r361.c drm/nouveau/secboot: share r361 BL structures and functions 2017-03-07 17:05:13 +10:00
acr_r361.h drm/nouveau/secboot: share r361 BL structures and functions 2017-03-07 17:05:13 +10:00
acr_r364.c drm/nouveau/secboot: support for r364 ACR 2017-03-07 17:05:15 +10:00
acr_r367.c drm/nouveau/secboot: pass instance to LS firmware loaders 2017-04-06 14:39:04 +10:00
acr_r367.h drm/nouveau/secboot: pass instance to LS firmware loaders 2017-04-06 14:39:04 +10:00
acr_r375.c drm/nouveau/secboot: support for r375 ACR 2017-03-07 17:05:16 +10:00
base.c drm/nouveau/secboot: allow to boot multiple falcons 2017-04-06 14:39:03 +10:00
gm20b.c drm/nouveau/secboot/gm20b: fix the error return code in gm20b_secboot_tegra_read_wpr() 2017-04-29 22:39:23 +10:00
gm200.c drm/nouveau/secboot: let callers interpret return value of blobs 2017-03-07 17:05:13 +10:00
gm200.h drm/nouveau/secboot/gm20b: specify MC base address as argument 2017-04-06 14:39:04 +10:00
gp10b.c drm/nouveau/secboot: add GP10B support 2017-04-06 14:39:04 +10:00
gp102.c drm/nouveau/secboot: fix inconsistent pointer checking 2017-03-17 10:08:24 +10:00
hs_ucode.c drm/nouveau/secboot: put HS code loading code into own file 2017-03-07 17:05:16 +10:00
hs_ucode.h drm/nouveau/secboot: put HS code loading code into own file 2017-03-07 17:05:16 +10:00
ls_ucode.h drm/nouveau/secboot: let LS post_run hooks return error 2017-04-06 14:39:04 +10:00
ls_ucode_gr.c drm/nouveau/secboot: plug memory leak in ls_ucode_img_load_gr() error path 2017-05-17 09:09:41 +10:00
ls_ucode_msgqueue.c drm/nouveau/secboot: start LS firmware in post-run hook 2017-04-06 14:39:04 +10:00
priv.h drm/nouveau/secboot: support for different load and unload falcons 2017-03-07 17:05:13 +10:00