Re: [PATCH] acpi-cpufreq: De-register cpu notifier and free struct msr on error.

2014-02-02 Thread Viresh Kumar
On 28 January 2014 09:28, Konrad Rzeszutek Wilk 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 >

Re: [PATCH] acpi-cpufreq: De-register cpu notifier and free struct msr on error.

2014-01-28 Thread Lukasz Majewski
Hi Konrad, > 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 n

[PATCH] acpi-cpufreq: De-register cpu notifier and free struct msr on error.

2014-01-27 Thread Konrad Rzeszutek Wilk
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 t