diff options
author | Guchun Chen <guchun.chen@amd.com> | 2019-09-17 17:49:29 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 09:10:59 -0500 |
commit | 8a3e801f1924c07781e93f043a74cfa244451787 (patch) | |
tree | ffa20dffa9313914483d1f6f8f018c51b972caae /drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | |
parent | f256ba473ea82f16be657752d7d5cf7e75164085 (diff) | |
download | linux-8a3e801f1924c07781e93f043a74cfa244451787.tar.gz linux-8a3e801f1924c07781e93f043a74cfa244451787.tar.bz2 linux-8a3e801f1924c07781e93f043a74cfa244451787.zip |
drm/amdgpu: avoid null pointer dereference
null ptr should be checked first to avoid null ptr access
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v10_0.c')
0 files changed, 0 insertions, 0 deletions