+2
−115
Loading
mainline inclusion from mainline-v6.3-rc1 commit c4605bde category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAU6ZD Reference: https://github.com/torvalds/linux/commit/c4605bde334367b22bbf43cbbef0d1b7c75433dc -------------------------------- commit c4605bde upstream The early_channel_count() function seems to have been useful in the past for knowing how many EDAC mci structures to populate. However, this is no longer needed as the maximum channel count for a system is used instead. Remove the early_channel_count() helper functions and related code. Use the size of the channel layer when iterating over channel structures. Signed-off-by:Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230127170419.1824692-6-yazen.ghannam@amd.com Signed-off-by:
PvsNarasimha <PVS.NarasimhaRao@amd.com>