]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:33:30 +0000 (14:33 +0200)
commit0d6f98d27d6c9e8e6a9fb2aa9bc7cefbd33ec841
treea1ecf0517647d2a3c052a34d070955e109b3197e
parent89f6691caec236434a6d74d40b83fa5ce6bc2160
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: 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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/edac/ie31200_edac.c