Re: [PATCH] lib: fix for_each_child.cocci warnings

From: Linus Walleij
Date: Mon May 17 2021 - 18:08:27 EST


On Tue, May 11, 2021 at 10:46 PM Julia Lawall <julia.lawall@xxxxxxxx> wrote:

> From: kernel test robot <lkp@xxxxxxxxx>
>
> For_each_available_child_of_node should have of_node_put() before return
> around line 1121.
>
> Generated by: scripts/coccinelle/iterators/for_each_child.cocci
>
> Fixes: 7d37cb2c912d ("lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS")
> CC: Julian Braha <julianbraha@xxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxxx>

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

Shall I apply it to the DRM tree or do you plan on funneling it
some other way?

Yours,
Linus Walleij