Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1263DC433EF for ; Fri, 17 Dec 2021 12:14:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235834AbhLQMOU (ORCPT ); Fri, 17 Dec 2021 07:14:20 -0500 Received: from muru.com ([72.249.23.125]:39448 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbhLQMOS (ORCPT ); Fri, 17 Dec 2021 07:14:18 -0500 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id CB04880FB; Fri, 17 Dec 2021 12:15:00 +0000 (UTC) Date: Fri, 17 Dec 2021 14:14:16 +0200 From: Tony Lindgren To: Wan Jiabing Cc: =?utf-8?Q?Beno=C3=AEt?= Cousson , Paul Walmsley , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] ARM: OMAP2+: hwmod: Add of_node_put() before break Message-ID: References: <20211014085719.23739-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211014085719.23739-1-wanjiabing@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Wan Jiabing [211014 11:58]: > Fix following coccicheck warning: > ./arch/arm/mach-omap2/omap_hwmod.c:753:1-23: WARNING: Function > for_each_matching_node should have of_node_put() before break > > Early exits from for_each_matching_node should decrement the > node reference counter. Thanks adding into omap-for-v5.17/fixes-not-urgent. Tony