Re: [PATCH v4 1/7] cpufreq: Store cpufreq policies in a list

Lukasz Majewski
2013-06-26T11:04:21Z

On Wed, 26 Jun 2013 16:26:30 +0530, Viresh Kumar wrote:
> On 26 June 2013 16:24, Lukasz Majewski <l.majewski@samsung.com> wrote:
> >> > ---
> >
> > So here <---> I will put change log for v5.
>
> correct.

OK.

>
> >> > ret = cpufreq_add_dev_interface(cpu, policy, dev);
> >> > if (ret)
> >
> > I will add list_del(&cpufreq_policy_list);
> > here.
>
> May not be sufficient. You must do it once at the end of this routine.

Then I will add this code below:

err_out_kobj_put:
list_del(&cpufreq_policy_list);
[rest of error path]

--
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group