]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/ie31200: Fix the size of EDAC_MC_LAYER_CHIP_SELECT layer
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:01 +0000 (09:14 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 10 Mar 2025 17:41:32 +0000 (10:41 -0700)
commitd59d844e319d97682c8de29b88d2d60922a683b3
treea72fa47fc295e0ec1fdf5b5bebb95dc3c56ca95e
parentd9207cf7760f5f5599e9ff7eb0fedf56821a1d59
EDAC/ie31200: Fix the size of EDAC_MC_LAYER_CHIP_SELECT layer

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: 7ee40b897d18 ("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
drivers/edac/ie31200_edac.c