diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-04-28 11:26:00 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 16:59:31 +0300 |
commit | cfec96c16890db08fa5c62b548c652cb37fee93e (patch) | |
tree | 868adc6e1cdfaa893c49785a29325babe81d97d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 7c836905520703dbc8b938993b6d4d718bc739f3 (diff) | |
download | linux-cfec96c16890db08fa5c62b548c652cb37fee93e.tar.xz |
drm/amd/pm: fix uninitialized variable warning
Check the return of function smum_send_msg_to_smc
as it may fail to initialize the variable.
Signed-off-by: Jesse Zhang <Jesse.Zhang@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_gfx.c')
0 files changed, 0 insertions, 0 deletions