Re: [PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-23 Thread Rafael J. Wysocki
On Monday, July 20, 2015 02:24:36 PM Pan Xinhui wrote: > From: Pan Xinhui > > freq_table should be alloced in ->init and freed in ->exit. However it > does not be freed. Fix this memory leak in acpi_cpufreq_cpu_exit. > > Signed-off-by: Pan Xinhui Queued up for 4.3, thanks! -- I speak only

Re: [PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-23 Thread Rafael J. Wysocki
On Monday, July 20, 2015 02:24:36 PM Pan Xinhui wrote: From: Pan Xinhui xinhuix@intel.com freq_table should be alloced in -init and freed in -exit. However it does not be freed. Fix this memory leak in acpi_cpufreq_cpu_exit. Signed-off-by: Pan Xinhui xinhuix@intel.com Queued up

Re: [PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-20 Thread Pan Xinhui
hi, all ia64-acpi-cpufreq has similar issues with acpi-cpufreq. Maybe we need make other two patches. Replace struct cpufreq_acpi_io *acpi_io_data[NR_CPUS] with policy->driver_data, and Fix an acpi perf unregister issue. As two patches [1/2] Drop the unused first argument of

[PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-20 Thread Pan Xinhui
From: Pan Xinhui freq_table should be alloced in ->init and freed in ->exit. However it does not be freed. Fix this memory leak in acpi_cpufreq_cpu_exit. Signed-off-by: Pan Xinhui --- drivers/cpufreq/ia64-acpi-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-20 Thread Pan Xinhui
hi, all ia64-acpi-cpufreq has similar issues with acpi-cpufreq. Maybe we need make other two patches. Replace struct cpufreq_acpi_io *acpi_io_data[NR_CPUS] with policy-driver_data, and Fix an acpi perf unregister issue. As two patches [1/2] Drop the unused first argument of

[PATCH] cpufreq: ia64: Fix a memory leak in acpi_cpufreq_cpu_exit

2015-07-20 Thread Pan Xinhui
From: Pan Xinhui xinhuix@intel.com freq_table should be alloced in -init and freed in -exit. However it does not be freed. Fix this memory leak in acpi_cpufreq_cpu_exit. Signed-off-by: Pan Xinhui xinhuix@intel.com --- drivers/cpufreq/ia64-acpi-cpufreq.c | 1 + 1 file changed, 1