Re: [PATCH] bus: arm: integrator: fix device node iterator leak

From: Linus Walleij
Date: Wed Sep 30 2020 - 04:29:25 EST


On Sat, Sep 26, 2020 at 1:55 AM Tobias Jordan <kernel@xxxxxxx> wrote:

> In the for_each_available_child_of_node loop of integrator_lm_populate,
> add a call to of_node_put to avoid leaking the iterator if we bail out.
>
> Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules")
> Signed-off-by: Tobias Jordan <kernel@xxxxxxx>

Incidentally, Sumera Priyadarsini has already fixed this.
Thanks anyway!

Yours,
Linus Walleij