diff options
| author | Ofir Bitton <[email protected]> | 2020-08-11 05:57:45 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2020-08-22 09:47:58 +0000 |
| commit | 0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 (patch) | |
| tree | 5f9289b6926b13486ef957581741f134a4753f72 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | habanalabs: validate FW file size (diff) | |
| download | kernel-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
