Re: [PATCH 2/2] clk: Fix OOPS calling hlist_del on an already poisoned hlist.

2015-02-05 Thread Alban Browaeys
Le jeudi 05 février 2015 à 11:33 -0800, Stephen Boyd a écrit : > On 02/05/15 10:24, Alban Browaeys wrote: > > Put is called more than once, thus hlist_del ends up on a poisoned > > list. > > Why is clk_put() called more than once on the same clk pointer? Where > does this happe > With only patch

Re: [PATCH 2/2] clk: Fix OOPS calling hlist_del on an already poisoned hlist.

2015-02-05 Thread Stephen Boyd
On 02/05/15 10:24, Alban Browaeys wrote: > Put is called more than once, thus hlist_del ends up on a poisoned > list. Why is clk_put() called more than once on the same clk pointer? Where does this happe > > Move hlist_del to the __clk_release handler managed by kref instead > of calling it in _c

[PATCH 2/2] clk: Fix OOPS calling hlist_del on an already poisoned hlist.

2015-02-05 Thread Alban Browaeys
Put is called more than once, thus hlist_del ends up on a poisoned list. Move hlist_del to the __clk_release handler managed by kref instead of calling it in _clk_put. Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks") Signed-off-by: Alban Browaeys --- drivers/clk/clk.c | 5 +++-- 1 fi