diff options
author | Ma Jun <Jun.Ma2@amd.com> | 2024-05-06 14:01:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-08 15:17:07 -0400 |
commit | 0991e49d2b73bb4189f83a49eb41cdf16976bbf6 (patch) | |
tree | a6fb6ef48361a4ee934a56afd58069042875eb25 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | d768394fa99467bcf2703bde74ddc96eeb0b71fa (diff) |
drm/amdgpu: Fix uninitialized variable warning in amdgpu_info_ioctl
Check the return value of amdgpu_xcp_get_inst_details, otherwise we
may use an uninitialized variable inst_mask
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions