[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <153253623910.48062.11060369743420676475@swboyd.mtv.corp.google.com>
Date: Wed, 25 Jul 2018 09:30:39 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Mikko Perttunen <mperttunen@...dia.com>, mturquette@...libre.com
Cc: leonard.crestez@....com, cyndis@...si.fi,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Mikko Perttunen <mperttunen@...dia.com>
Subject: Re: [PATCH] clk: core: Potentially free connection id
Quoting Mikko Perttunen (2018-07-11 01:21:04)
> Patch "clk: core: Copy connection id" made it so that the connector
> id (con_id) is kstrdup_const'ed to cater to drivers that pass non-
> constant connection ids. The patch added the corresponding kfree_const
> to __clk_free_clk, but struct clk's can be freed also via __clk_put.
> Add the kfree_const call to __clk_put and add comments to both
> functions to remind that the logic in them should be kept in sync.
>
> Fixes: 253160a8ad06 ("clk: core: Copy connection id")
> Signed-off-by: Mikko Perttunen <mperttunen@...dia.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists