Re: [PATCH] bus: qcom: ebi2: fix device node iterator leak

2020-09-29 Thread Linus Walleij
On Sat, Sep 26, 2020 at 1:45 AM Tobias Jordan wrote: > In the for_each_available_child_of_node loop of qcom_ebi2_probe, add a > call to of_node_put to avoid leaking the iterator if we bail out. > > Fixes: 335a12754808 ("bus: qcom: add EBI2 driver") > > Signed-off-by: Tobias Jordan Reviewed-by:

[PATCH] bus: qcom: ebi2: fix device node iterator leak

2020-09-25 Thread Tobias Jordan
In the for_each_available_child_of_node loop of qcom_ebi2_probe, add a call to of_node_put to avoid leaking the iterator if we bail out. Fixes: 335a12754808 ("bus: qcom: add EBI2 driver") Signed-off-by: Tobias Jordan --- drivers/bus/qcom-ebi2.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet