aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorOfir Bitton <[email protected]>2020-08-11 05:57:45 +0000
committerOded Gabbay <[email protected]>2020-08-22 09:47:58 +0000
commit0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 (patch)
tree5f9289b6926b13486ef957581741f134a4753f72 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parenthabanalabs: validate FW file size (diff)
downloadkernel-0839152f8c1efc1cc2d515d1ff1e253ca9402ad3.tar.gz
kernel-0839152f8c1efc1cc2d515d1ff1e253ca9402ad3.zip
habanalabs: check correct vmalloc return code
vmalloc can return different return code than NULL and a valid pointer. We must validate it in order to dereference a non valid pointer. Signed-off-by: Ofir Bitton <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions