diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2020-01-10 01:56:51 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-01-16 17:09:29 +0100 |
commit | dcd01394ce7cd7d25bb15c81ad2e804d8090611f (patch) | |
tree | 833f499c40e01959ab9c8317395d613b8644e59f /drivers/edac/mce_amd.c | |
parent | EDAC/amd64: Add family ops for Family 19h Models 00h-0Fh (diff) | |
download | linux-dev-dcd01394ce7cd7d25bb15c81ad2e804d8090611f.tar.xz linux-dev-dcd01394ce7cd7d25bb15c81ad2e804d8090611f.zip |
EDAC/amd64: Drop some family checks for newer systems
In general, "pvt->umc != NULL" is used to check if the system is Family
17h+. However, there are a few places that are using direct family
checks.
Replace the remaining family checks with a check for "pvt->umc != NULL".
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200110015651.14887-6-Yazen.Ghannam@amd.com
Diffstat (limited to 'drivers/edac/mce_amd.c')
0 files changed, 0 insertions, 0 deletions