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

From: Lukasz Majewski
Date: Wed Jun 26 2013 - 07:04:24 EST


On Wed, 26 Jun 2013 16:26:30 +0530, Viresh Kumar wrote:
> On 26 June 2013 16:24, Lukasz Majewski <l.majewski@xxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/