On 28 January 2014 09:28, Konrad Rzeszutek Wilk <[email protected]> wrote: > If cpufreq_register_driver() fails we would free the acpi driver > related structures but not free the ones allocated > by acpi_cpufreq_boost_init() function. This meant that as > the driver error-ed out and a CPU online/offline event came > we would crash and burn as one of the CPU notifiers would point > to garbage. > > This fixes a regression that commit cfc9c8ed03e4d908f2388af8815f44c87b503aaf > "acpi-cpufreq: Adjust the code to use the common boost attribute" > introduced. > > CC: Lukasz Majewski <[email protected]> > CC: Myungjoo Ham <[email protected]> > CC: Viresh Kumar <[email protected]> > CC: Rafael J. Wysocki <[email protected]> > CC: Boris Ostrovsky <[email protected]> > Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> > --- > drivers/cpufreq/acpi-cpufreq.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-)
Acked-by: Viresh Kumar <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

