x86/RAS: Simplify SMCA bank descriptor struct
authorBorislav Petkov <bp@suse.de>
Tue, 1 Nov 2016 16:33:00 +0000 (17:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 8 Nov 2016 16:10:14 +0000 (17:10 +0100)
commit79349f529ab1a629b9e43e81b4a5b2c22d1e9a65
treee18177025e66837fbfb33a0f42c3f2bb551dfa25
parentcd9c57cad3fe89ea949b9266cddc947c0838f7af
x86/RAS: Simplify SMCA bank descriptor struct

Call the struct simply smca_bank, it's instance ID can be simply ->id.
Makes the code much more readable.

Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: http://lkml.kernel.org/r/20161103125556.15482-1-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce_amd.c