diff options
author | 2024-04-28 16:26:00 +0800 | |
---|---|---|
committer | 2024-04-30 09:59:31 -0400 | |
commit | cfec96c16890db08fa5c62b548c652cb37fee93e (patch) | |
tree | 868adc6e1cdfaa893c49785a29325babe81d97d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/amd/pm: fix uninitialized variable warning (diff) | |
download | linux-rng-cfec96c16890db08fa5c62b548c652cb37fee93e.tar.xz linux-rng-cfec96c16890db08fa5c62b548c652cb37fee93e.zip |
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