[PATCH -next] ARM: versatile: Add missing of_node_put in dcscb_init
Linus Walleij
linus.walleij at linaro.org
Thu Apr 28 16:04:44 PDT 2022
On Mon, Apr 25, 2022 at 10:18 AM Peng Wu <wupeng58 at huawei.com> wrote:
> The device_node pointer is returned by of_find_compatible_node
> with refcount incremented. We should use of_node_put() to avoid
> the refcount leak.
>
> Signed-off-by: Peng Wu <wupeng58 at huawei.com>
I applied this on linux-next. signed off and sent directly to
the SoC tree.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list