Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp55215pxy; Wed, 21 Apr 2021 18:20:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz0ZPXdl0T77QHRDuv8+bwld5npmKv1VH9pSQJdrWx1xbbqykPbyks6yOxz9KYJMhzYXbv X-Received: by 2002:a17:90a:f298:: with SMTP id fs24mr1106760pjb.129.1619054400002; Wed, 21 Apr 2021 18:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054399; cv=none; d=google.com; s=arc-20160816; b=jkfbG44KAOFpuxnVkkqgHfpV6EF7sq4lbCTh1KZZWVFQIj02JyiIlS+ryyodCN4/Ep id6Gjm/bgfN+yO9l2C95kDET1GAnRnf4fuOgDlV83ASVksFhKGA5SGAIkFzsPlSb8GCS tjcIX/lx3ifbnq9J7LE97pMelQF8DvM3zXwr7IwUKwrVZJwhYa2ZcQBXf9eJ0cp7GmJ/ jeaSHfb8U7EznzK22ORUfoyYFt+oBbOltNSKWzRwopZ8IpI9SP8ghKOXn+vfqAYkLz1q x6l01737otuiFA3zRA4Ed99IPKlf+kUQeqW2B2raqBXT9DUSwWDCKszWzKh606OfXL7/ M/yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0ur9iCWRxEK2/Qsg6bctD2szsyMKmCaW86q/CRKbxm4=; b=kGYv3xVswW40AP6EJ2FOSs/4grhOET9Ua7ofGE8ujcotTvUcH9XTJ4/+yW0XV42+GT 89+G18iP6+6lqiPQ2/ZJDtPze1LftDMrTQqBTSHg2EALrvZ6doJSJP6C1ZFUlS3YOeaG u/Wv/Xhie6F6GHJf3gv7kzIVv78X2IW74OuZ2g0X7GgiGt/StgVVz5vhDU2fJwNLO04n 3kvpb3vGIHZndvLmsHuUKfeBf2A1T9Sz2IOWAtujCnxFOPdUaLLbCWNF46QSIYRdwMzy uBOZ57nuRo9fPHqtx9McCOyeZ71bhKJOR+F5/vcWYdNbFD1gEw7SiRt9dxYI5QfOQTlu tWtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OUY9K+eH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r10si1151019pff.291.2021.04.21.18.19.48; Wed, 21 Apr 2021 18:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OUY9K+eH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245444AbhDUTFM (ORCPT + 99 others); Wed, 21 Apr 2021 15:05:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:35820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245387AbhDUTFC (ORCPT ); Wed, 21 Apr 2021 15:05:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E894B61457; Wed, 21 Apr 2021 19:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619031868; bh=w86Hg/P36kP1rlWu7feNGoS+/J61vahKxacM04YWx/8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OUY9K+eHtnvKEWOMO1jbHumGDFILo8yZJy/mLwzNH+Q/VDW/+oOVEvTAVGlj9WO2/ QEqHzVgr4epn6q+9T9R7BtCfIFunDuo9M+rDle+4+i0yOgcAjT0plpwMl3/QiQ+EOf 8S/Ljm3kIeYS1gyOYlUgTjY9CuM5LKjeh9aNfxL2Yh7pZvWBhMJH8zh1vBBqmifHd9 u3UvDjyj9IZ/PLG8epHyeIFoYlG3x8o3JMgsd7+AwyCSAPlvQPINm1ur741eHtKZnk zIpWNiSB5sQE8Prz9AwYs2wN8LnfxEQSaHY3MrmU3hK9uw4c7St4bYPxVLOqFS5HuC Ut/ydiKBlGe5w== From: Mark Brown To: lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, Christophe JAILLET Cc: Mark Brown , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] regulator: Avoid a double 'of_node_get' in 'regulator_of_get_init_node()' Date: Wed, 21 Apr 2021 20:03:32 +0100 Message-Id: <161903035952.13561.4200524604109878768.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Apr 2021 21:31:51 +0200, Christophe JAILLET wrote: > 'for_each_available_child_of_node()' already performs an 'of_node_get()' > on child, so there is no need to perform another one before returning. > Otherwise, a double 'get' is performed and a resource may never be > released. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: Avoid a double 'of_node_get' in 'regulator_of_get_init_node()' commit: 8a065ce92b218e453742b745162d75a6f86fb768 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark