]> git.karo-electronics.de Git - linux-beck.git/commit
EDAC, mce_amd: Rename nb_bus_decoder to dram_ecc_decoder
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Thu, 17 Nov 2016 22:57:29 +0000 (17:57 -0500)
committerBorislav Petkov <bp@suse.de>
Mon, 21 Nov 2016 08:43:15 +0000 (09:43 +0100)
commit5c332202f805170436b210938fe3ad7f6b29bdbc
treedadd6ee8b7b033f03a8c570cc67fe60c6dab90b8
parent1e8096bb2031c53b6bf3adc7667b4b2bdf2a1ac6
EDAC, mce_amd: Rename nb_bus_decoder to dram_ecc_decoder

nb_bus_decoder() is only used for DRAM ECC errors so rename it so that
the name is more generic and descriptive.

Also, call it for DRAM ECC errors on SMCA systems.

[ Boris: rename it to real function name with a verb in it. ]

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1479423463-8536-4-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd.c