]> git.baikalelectronics.ru Git - kernel.git/commit
acpi, nfit: Fix the memory error check in nfit_handle_mce()
authorVishal Verma <vishal.l.verma@intel.com>
Fri, 19 May 2017 09:39:10 +0000 (11:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 21 May 2017 19:39:59 +0000 (21:39 +0200)
commitf6f9d788788b38eda30d99fae482cc29bad2b145
tree68154162c7b8bba9dd1874eff6cd2173a1091e8d
parentd86136f0b3e309124fe51aa15d02799ed1b7b428
acpi, nfit: Fix the memory error check in nfit_handle_mce()

The check for an MCE being a memory error in the NFIT mce handler was
bogus. Use the new mce_is_memory_error() helper to detect the error
properly.

Reported-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170519093915.15413-3-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/acpi/nfit/mce.c