From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.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 BE46B39BFF9 for ; Mon, 16 Mar 2026 16:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773679064; cv=none; b=f5ePRU7hr72BkomI/voZ2sRoQGqay4lfrQqnzn1jA+GgerGGBGjN1Xhb5h0T5zzlxWwSD8wMoDWH626VZep3qnmDUhECTjsf74H7S4xq52VR/Osr6qnFuKapC2YZOY5F4DPcOiev46ICbcVVChNLkEUFdfrRSYyRosZaxSqFRoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773679064; c=relaxed/simple; bh=okGqY7hrkEEMSk/SA4yWV8h9lu6X5rYIHj2OqNg4bRU=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=jWZGl0jhBRO9TTmAvDaC23nvOPOiGq570p25+JxniJbEk3+5IADfCu00kFNxYOdcZtODvSwB/QEgl2s+pKQCXMYBGR5PYL8eL/6ujc3Gt+z1SV6e4jwYFKKzs+ciA92V0qGDtx5KGRW2cHVc+0jWLJ7USmHpooP0ivYkzBUvDgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=StJZrd4V; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="StJZrd4V" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 084131A2E70; Mon, 16 Mar 2026 16:37:40 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BD5185FC4A; Mon, 16 Mar 2026 16:37:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 865CA103721FE; Mon, 16 Mar 2026 17:37:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773679058; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dvVMeITPtgPkUpFh4ig5rTxZCHMHxmPJ/z+4JGRTcLo=; b=StJZrd4VbcHwkTwmYj1aPFLySYohsGgcVlajNXmEsHVsuvvU4te0djn6ISdIsYy9m+fl48 UEhTDv0B6kgk9T8kwHXMXm+2+PLFKHvXm4ouXo7+h37U4HKZKrz3jAXW5sFSBxFzd2twIt 4CvydloqaiP+KYn3gD9rJZmmTRRxkQ0RQ5JiqpvXHffSirSJO4b312IL19aWNetwQep0jq xXoYEcxx3mENrdFEoavvMq//1y9EtY+xPVRGkmfs/wvI7zyYVzlFCjn79WRYoHw8V6iY2Z drRSYZF8KNrOYnqZ+kVb6lslZfwWdF6pI7XxMEFrukr14gFCzlhddwL8RcwBDg== From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Kees Cook , Weigang He , Daniel Palmer , Benjamin Krill , David Woodhouse , Cosmin Tanislav Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20260311153957.1984446-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20260311153957.1984446-1-cosmin-gabriel.tanislav.xa@renesas.com> Subject: Re: [PATCH 0/2] MTD fixes for OF node refcounting Message-Id: <177367905372.156388.16440643358794352938.b4-ty@bootlin.com> Date: Mon, 16 Mar 2026 17:37:33 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 On Wed, 11 Mar 2026 17:39:55 +0200, Cosmin Tanislav wrote: > This series fixes an issue observed while repeatedly binding / unbinding > the SPI controller driver to which a SPI NOR flash memory is attached, > caused by commit 7cce81df7d26 ("mtd: parsers: ofpart: fix OF node > refcount leak in parse_fixed_partitions()"). See patch 2 for more > details. > > Patch 1 is the fix for another theorethical issue I have noticed while > debugging the main issue. > > [...] Applied to mtd/next, thanks! [1/2] mtd: parsers: ofpart: call of_node_put() only in ofpart_fail path commit: 0c87dea1aab86116211cb37387c404c9e9231c39 [2/2] mtd: parsers: ofpart: call of_node_get() for dedicated subpartitions commit: e882626c1747653f1f01ea9d12e278e613b11d0f Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then). Kind regards, Miquèl