OpenCloudOS-Kernel/drivers/gpu/drm/nouveau/nvkm/subdev
Gustavo A. R. Silva 74a07c0a59 drm/nouveau/secboot/acr: fix memory leak
In case memory resources for *bl_desc* were allocated, release
them before return.

Addresses-Coverity-ID: 1472021 ("Resource leak")
Fixes: 0d46690155 ("drm/nouveau/secboot/acr: Remove VLA usage")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2018-10-11 09:54:10 +10:00
..
bar Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes 2018-01-19 12:12:31 +10:00
bios drm/nouveau/bios/vpstate: There are some fermi vbios with no boost or tdp entry 2018-07-16 18:06:29 +10:00
bus License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk drm/nouveau/clk: Use list_for_each_entry_from_reverse 2018-05-18 17:09:35 +10:00
devinit drm/nouveau/devinit: fix warning when PMU/PRE_OS is missing 2018-09-13 10:56:58 +10:00
fault drm/nouveau/fault/gv100: fix fault buffer initialisation 2018-07-16 18:06:28 +10:00
fb Merge branch 'linux-4.18' of git://github.com/skeggsb/linux into drm-fixes 2018-07-20 10:27:53 +10:00
fuse License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
i2c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ibus License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iccsense License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
instmem Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes 2017-12-19 13:21:11 +10:00
ltc drm/nouveau/gr/gp102-: setup stencil zbc 2018-05-18 15:01:26 +10:00
mc drm/nouveau/mc/gp100-: route fault buffer interrupts to FAULT 2018-05-18 15:01:20 +10:00
mmu drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer 2018-09-07 06:54:28 +10:00
mxm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes 2018-01-26 15:27:07 +10:00
pmu drm/nouveau/pmu/fuc: don't use movw directly anymore 2018-02-02 15:24:03 +10:00
secboot drm/nouveau/secboot/acr: fix memory leak 2018-10-11 09:54:10 +10:00
therm drm/nouveau: Make clock gate support conditional 2018-02-16 14:07:58 +10:00
timer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
top drm/nouveau/top/gv100: initial support 2018-05-18 15:01:34 +10:00
volt License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kbuild drm/nouveau/core: define FAULT subdev 2018-05-18 15:01:20 +10:00