summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2024-04-26 14:38:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-08 07:53:03 +0200
commitec0c1056f2d77dd85c26f51ff11eebbe043fa5c8 (patch)
tree8ff4b42d9b9a189be9227b213c7208d27dc74c89 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentcbf1a8ee111f099b602787269a8817cd646ee685 (diff)
drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc
[ Upstream commit 579f0c21baec9e7506b6bb3f60f0a9b6d07693b4 ] Check the return value of smum_send_msg_to_smc, otherwise we might use an uninitialized variable "now" Signed-off-by: Ma Jun <Jun.Ma2@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