Re: [PATCH 1/2] opp: Free static OPPs on errors while adding them
From: Viresh Kumar
Date: Thu Nov 28 2019 - 21:27:42 EST
On 18-11-19, 16:32, Viresh Kumar wrote:
> The static OPPs aren't getting freed properly, if errors occur while
> adding them. Fix that by calling _put_opp_list_kref() and putting their
> reference on failures.
>
> Fixes: 11e1a1648298 ("opp: Don't decrement uninitialized list_kref")
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
@Stephen: Any inputs here on this series ?
--
viresh