diff options
author | Bob Zhou <bob.zhou@amd.com> | 2024-05-31 15:01:22 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 11:25:13 -0400 |
commit | 50151b7f1c79a09117837eb95b76c2de76841dab (patch) | |
tree | 26cd7e0ea0cbca566bebe824ba905ae0cdf4d505 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
parent | 45bd39fb3bf677b2bde8d7b36d85b3524dde0014 (diff) | |
download | linux-50151b7f1c79a09117837eb95b76c2de76841dab.tar.gz linux-50151b7f1c79a09117837eb95b76c2de76841dab.tar.bz2 linux-50151b7f1c79a09117837eb95b76c2de76841dab.zip |
drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
Check return value and conduct null pointer handling to avoid null pointer dereference.
Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions