Thread (20 messages) 20 messages, 6 authors, 2026-01-09

Re: [PATCH v2 01/11] of: Add for_each_compatible_node_scoped() helper

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-01-06 11:26:14
Also in: dmaengine, imx, linux-arm-kernel, linux-clk, linux-devicetree, linux-media, linux-pm, linux-samsung-soc, lkml, llvm

On 06/01/2026 11:37, Jonathan Cameron wrote:
On Tue, 06 Jan 2026 10:15:11 +0100
Krzysztof Kozlowski [off-list ref] wrote:
quoted
Just like looping through children and available children, add a scoped
helper for for_each_compatible_node() so error paths can drop
of_node_put() leading to simpler code.

Suggested-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Krzysztof Kozlowski <redacted>
Oops. Reviews on v1 as I didn't check for a v2. Sorry about that.
Yeah, I saw them. I'll go through them anyway, so probably there will be
v3 or I will just respin with added tags.


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help