diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-04-22 12:27:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:43 -0400 |
commit | 8e65a1b7118acf6af96449e1e66b7adbc9396912 (patch) | |
tree | d9199962a4cdf6a420453f86cb76b9e2c02f3808 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
parent | b528cac6deaacd7baa0896b7cb2cf98e87926d17 (diff) |
drm/amd/display: Add NULL pointer check for kzalloc
[Why & How]
Check return pointer of kzalloc before using it.
Reviewed-by: Alex Hung <alex.hung@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions