summaryrefslogtreecommitdiffstats
path: root/kernel/elfcore.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-11-10 18:44:42 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-11-16 09:34:17 +0100
commitec553abb318d75b1eafd275c71125569fa13b33b (patch)
tree33c64e260de07aa22aa41fc10fba2243a894587e /kernel/elfcore.c
parent0943637293a05aa3d8fb47bc30c7c0104480829a (diff)
downloadlinux-ec553abb318d75b1eafd275c71125569fa13b33b.tar.bz2
x86/mcheck: Explicit cleanup on failure in mce_amd
If the ONLINE callback fails, the driver does not any clean up right away instead it waits to get to the DEAD stage to do it. Yes, it waits. Since we don't pass the error code back to the caller, no one knows. Do the clean up right away so it does not look like a leak. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Cc: rt@linutronix.de Cc: linux-edac@vger.kernel.org Link: http://lkml.kernel.org/r/20161110174447.11848-3-bigeasy@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/elfcore.c')
0 files changed, 0 insertions, 0 deletions