From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH] cpufreq: scmi: fix use-after-free in scmi_cpufreq_exit() Date: Mon, 18 Feb 2019 11:04:54 +0000 Message-ID: <20190218110454.GA12994@e107155-lin> References: <20190216163148.12375-1-tiny.windzz@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190216163148.12375-1-tiny.windzz@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Yangtao Li Cc: rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Sudeep Holla , linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org On Sat, Feb 16, 2019 at 11:31:48AM -0500, Yangtao Li wrote: > This issue was detected with the help of Coccinelle. So > change the order of function calls to fix it. > > Fixes: 1690d8bb91e37 (cpufreq: scpi/scmi: Fix freeing of dynamic OPPs) > Acked-by: Sudeep Holla -- Regards, Sudeep