diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-12-22 11:02:08 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-12-25 10:47:40 +0100 |
commit | 834fcd298003c10ce450e66960c78893cb1cc4b5 (patch) | |
tree | dff2a6b96422f400423424f3d2f9f2d878f8a1dc /drivers | |
parent | a051f220d6b9bf9367695e2c319ccc3712b631ee (diff) |
perf/x86/intel/cstate: Prevent hotplug callback leak
If the pmu registration fails the registered hotplug callbacks are not
removed. Wrong in any case, but fatal in case of a modular driver.
Replace the nonsensical state names with proper ones while at it.
Fixes: 77c34ef1c319 ("perf/x86/intel/cstate: Convert Intel CSTATE to hotplug state machine")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions