aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorLakshmi Ramasubramanian <[email protected]>2021-04-21 16:36:10 +0000
committerRob Herring <[email protected]>2021-04-26 21:28:26 +0000
commit031cc263c037a95e5d1249cbd3d55b77021f1eb8 (patch)
tree64e8a1eff5e91005d793d6da01f8135218b73d93 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentpowerpc: Free fdt on error in elf64_load() (diff)
downloadkernel-031cc263c037a95e5d1249cbd3d55b77021f1eb8.tar.gz
kernel-031cc263c037a95e5d1249cbd3d55b77021f1eb8.zip
powerpc: If kexec_build_elf_info() fails return immediately from elf64_load()
Uninitialized local variable "elf_info" would be passed to kexec_free_elf_info() if kexec_build_elf_info() returns an error in elf64_load(). If kexec_build_elf_info() returns an error, return the error immediately. Signed-off-by: Lakshmi Ramasubramanian <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Michael Ellerman <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions