From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BC77320A06; Tue, 6 Jan 2026 10:37:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767695869; cv=none; b=YebO4p1aE8G9pC3d7ZuyYyL4Jsi4CIiaSChRRPUqxoPjF1xvFwM0kA+6coFLWunuFnB1t6ytiUguoInBv6AxEDarc0g+Ts/W+GlxDA2PlvK4N3fnT3xnDlyI/Fyxiawh3xNdlv/SDumntxkMdcUCK0M9ITMG04NszCtpaPtCN6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767695869; c=relaxed/simple; bh=4Q9fjmtv3jKpgyxmaL0YuLokxgz+lRXh4Y/qNakcR/Y=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oCwx37zePQh7VREmU+Vfa3nPfehxL9qBXi0Q2C/Uq6AkeIeRUQjVpDzi5kA2c9KJQgRd1B4kQSW71/KzQAnoj58LTiCgqwPX9yJ+ek80tx83uiAOm8tLIFBnxl3/CWLAl333Cj2uy29/k61HtrIDVUMzY30ZkcNmjv+hQtfHe4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4dlngC4Q0jzJ46rM; Tue, 6 Jan 2026 18:37:43 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id 0ABDE40570; Tue, 6 Jan 2026 18:37:45 +0800 (CST) Received: from localhost (10.48.149.114) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Tue, 6 Jan 2026 10:37:42 +0000 Date: Tue, 6 Jan 2026 10:37:41 +0000 From: Jonathan Cameron To: Krzysztof Kozlowski CC: Miguel Ojeda , Rob Herring , "Saravana Kannan" , Nathan Chancellor , "Nick Desaulniers" , Bill Wendling , Justin Stitt , Russell King , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Krzysztof Kozlowski , "Alim Akhtar" , Madhavan Srinivasan , Michael Ellerman , "Nicholas Piggin" , "Christophe Leroy (CS GROUP)" , Nipun Gupta , Nikhil Agarwal , Abel Vesa , Peng Fan , Michael Turquette , "Stephen Boyd" , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Vinod Koul , Sylwester Nawrocki , Mauro Carvalho Chehab , "Rafael J. Wysocki" , Viresh Kumar , , , , , , , , , , , Subject: Re: [PATCH v2 01/11] of: Add for_each_compatible_node_scoped() helper Message-ID: <20260106103741.00003708@huawei.com> In-Reply-To: <20260106-of-for-each-compatible-scoped-v2-1-05eb948d91f2@oss.qualcomm.com> References: <20260106-of-for-each-compatible-scoped-v2-0-05eb948d91f2@oss.qualcomm.com> <20260106-of-for-each-compatible-scoped-v2-1-05eb948d91f2@oss.qualcomm.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100010.china.huawei.com (7.191.174.197) To dubpeml100005.china.huawei.com (7.214.146.113) On Tue, 06 Jan 2026 10:15:11 +0100 Krzysztof Kozlowski wrote: > 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 > Signed-off-by: Krzysztof Kozlowski Oops. Reviews on v1 as I didn't check for a v2. Sorry about that. J