From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Subject: Re: [PATCH v4 1/7] cpufreq: Store cpufreq policies in a list Date: Wed, 26 Jun 2013 13:04:07 +0200 Message-ID: <20130626130407.021c05cb@amdc308.digital.local> References: <1370502472-7249-1-git-send-email-l.majewski@samsung.com> <1371661969-7660-1-git-send-email-l.majewski@samsung.com> <1371661969-7660-2-git-send-email-l.majewski@samsung.com> <20130626125411.5dc935bf@amdc308.digital.local> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: cpufreq-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Viresh Kumar Cc: "Rafael J. Wysocky" , "cpufreq@vger.kernel.org" , Linux PM list , Vincent Guittot , Jonghwa Lee , Myungjoo Ham , linux-kernel , Lukasz Majewski , Andre Przywara , Daniel Lezcano , Kukjin Kim , Zhang Rui , Eduardo Valentin , t.figa@samsung.com On Wed, 26 Jun 2013 16:26:30 +0530, Viresh Kumar wrote: > On 26 June 2013 16:24, Lukasz Majewski 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