EDAC/ie31200: Fix the size of EDAC_MC_LAYER_CHIP_SELECT layer
[ Upstream commit d59d844e319d97682c8de29b88d2d60922a683b3 ]
The EDAC_MC_LAYER_CHIP_SELECT layer pertains to the rank, not the DIMM.
Fix its size to reflect the number of ranks instead of the number of DIMMs.
Also delete the unused macros IE31200_{DIMMS,RANKS}.
Fixes: 7ee40b89 ("ie31200_edac: Introduce the driver")
Signed-off-by:
Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by:
Tony Luck <tony.luck@intel.com>
Tested-by:
Gary Wang <gary.c.wang@intel.com>
Link: https://lore.kernel.org/r/20250310011411.31685-2-qiuxu.zhuo@intel.com
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment