aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-04-28 15:36:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-04-30 09:59:26 -0400
commit7c836905520703dbc8b938993b6d4d718bc739f3 (patch)
treef9df9aafe791b8977e5d5f4b1089c753f2d704b6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu/pm: Check the return value of smum_send_msg_to_smc (diff)
downloadlinux-rng-7c836905520703dbc8b938993b6d4d718bc739f3.tar.xz
linux-rng-7c836905520703dbc8b938993b6d4d718bc739f3.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: Yang Wang <kevinyang.wang@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