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

Linus Walleij linus.walleij at linaro.org
Wed Sep 30 04:29:09 EDT 2020


On Sat, Sep 26, 2020 at 1:55 AM Tobias Jordan <kernel at cdqe.de> 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 at cdqe.de>

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

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list