drm/amdgpu: fix ACA bank count boundary check error

[ Upstream commit 2bb7dced1c ]

fix ACA bank count boundary check error.

Fixes: f5e4cc8461 ("drm/amdgpu: implement RAS ACA driver framework")
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Yang Wang 2024-11-06 14:49:56 +08:00 • committed by Greg Kroah-Hartman
commit 27eaeebd6c