Re: [PATCH] clk: core: Potentially free connection id

2018-07-25 Thread Stephen Boyd
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

Re: [PATCH] clk: core: Potentially free connection id

2018-07-11 Thread Leonard Crestez
On Wed, 2018-07-11 at 11:21 +0300, Mikko Perttunen wrote: > 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 st

[PATCH] clk: core: Potentially free connection id

2018-07-11 Thread Mikko Perttunen
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