diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-04-28 15:36:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-08 07:53:03 +0200 |
commit | 92cb4425f563a39c9558fee4e95f25191f2e9318 (patch) | |
tree | ed39d27c59989395186d0440aec8f5fcc59b8f01 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ec0c1056f2d77dd85c26f51ff11eebbe043fa5c8 (diff) |
drm/amd/pm: fix uninitialized variable warning
[ Upstream commit 7c836905520703dbc8b938993b6d4d718bc739f3 ]
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: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions