]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: init locals in umc_v12_0_convert_error_address
authorStanley.Yang <Stanley.Yang@amd.com>
Mon, 11 May 2026 09:27:29 +0000 (17:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 14:50:11 +0000 (10:50 -0400)
commita71db9b8f77bab7b730b9f00a769d8f7a9e3dafd
treec9e97e6ba481cbb770e9c845761e1abdcfec12dd
parentef7dc711a664b0c548ecfdf13a00436b7446b8e7
drm/amdgpu: init locals in umc_v12_0_convert_error_address

row, col, col_lower, row_lower, row_high and bank could be read on
code paths that never assign them. Initialize them to 0.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c