diff options
author | Bob Zhou <bob.zhou@amd.com> | 2024-05-31 16:21:45 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 11:25:13 -0400 |
commit | 8332f1aaf571bec1c023a3b13ba35c86aaa2524d (patch) | |
tree | 78c3c291712a47197db88fdfe1277c8811d72297 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
parent | 50151b7f1c79a09117837eb95b76c2de76841dab (diff) | |
download | linux-8332f1aaf571bec1c023a3b13ba35c86aaa2524d.tar.gz linux-8332f1aaf571bec1c023a3b13ba35c86aaa2524d.tar.bz2 linux-8332f1aaf571bec1c023a3b13ba35c86aaa2524d.zip |
drm/amd/pm: add missing error handling in function smu_v13_0_6_allocate_dpm_context
Check return value to avoid null pointer dereference.
Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@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