[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a2piuYczrajMuHCf6qtqadKciVY2XqdxZ0mrRtCdz2f9w@mail.gmail.com>
Date: Sun, 25 Apr 2021 20:43:36 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES"
<linux-samsung-soc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: exynos: add missing of_node_put for loop iteration
On Sun, Apr 25, 2021 at 7:50 PM Krzysztof Kozlowski
<krzysztof.kozlowski@...onical.com> wrote:
>
> Early exits from for_each_compatible_node() should decrement the
> node reference counter. Reported by Coccinelle:
>
> arch/arm/mach-exynos/exynos.c:52:1-25: WARNING:
> Function "for_each_compatible_node" should have of_node_put() before break around line 58.
>
> Fixes: b3205dea8fbf ("ARM: EXYNOS: Map SYSRAM through generic DT bindings")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Acked-by: Arnd Bergmann <arnd@...db.de>
I've already tagged the pull requests for 5.13, so I guess you can
just add this into
your next fixes branch.
Arnd
Powered by blists - more mailing lists