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

From: Linus Walleij
Date: Tue Sep 29 2020 - 16:46:34 EST


On Sat, Sep 26, 2020 at 1:45 AM Tobias Jordan <kernel@xxxxxxx> 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 <kernel@xxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Bjorn can you apply this to the Qualcomm SoC tree?

Yours,
Linus Walleij