On Fri, Jan 06, 2017 at 07:58:31AM -0800, Raj, Ashok wrote:
Looks like we don't need a return value from therm_throt_process(),
we can fix that as void as well.
Right you are, here's v2:
---
From a8151fa6f18c2605eb7972061234f05e79b372c4 Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp@xxxxxxx>
Date: Fri, 6 Jan 2017 12:07:08 +0100
Subject: [PATCH] x86/MCE/therm_throt: Do not log a fake MCE for a thermal event
We log a fake bank 128 MCE to note that we're handling a CPU thermal
event. However, this confuses people into thinking that their hardware
generates MCEs. Hijacking MCA for logging thermal events is a gross
misuse anyway and it should've been done in the first place. And besides
we have other means for dealing with thermal events which are much more
suitable.
So let's kill the MCE logging part.
Signed-off-by: Borislav Petkov <bp@xxxxxxx>