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 28C9B2F6929 for ; Mon, 17 Nov 2025 10:55:09 +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=1763376912; cv=none; b=pY3LklKpXZIXqWABTR9WrYMtQJlx4yoPBK+2ISByhi316gyqf42RxzuGf+ClB//qEOA8vf7AArut1k7pQzN10kPaBOiCVmsqo/PW2Ls1JxIzahso9juVQv6ChvcWoR5fb2+JEHc05tei9gqSNmqahnzkKwt6XogpMb/WbadKpdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763376912; c=relaxed/simple; bh=GNNIlWp2bnl37gwSfc1Ek6lWJjTy0nvs75OLLmpBtgc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=dJLLzmIwwLZeOc4X3kweKbkiIRh4DokmGc0XYSiQGwZ/2kObpFbnUkT0HglwL30guzUBDMvfvUHfkq6j0BCH9araPDr/A0e3A4zxVnZH0HXl9SXoxkHHyaMUvMsFGRA3Hww+CsbvhIfYMe+hpbOIQ7rD+sLmA+fRaC7AJFp54eA= 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=Mh+MM3Ia; 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="Mh+MM3Ia" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id A5B3B1A1A1C; Mon, 17 Nov 2025 10:55:08 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7A93D606B9; Mon, 17 Nov 2025 10:55:08 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C10AA10371D22; Mon, 17 Nov 2025 11:55:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1763376907; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=8QyzR7iq+ODR7vgeIZqYkU/02HH1m1IiL2UuTrM19qI=; b=Mh+MM3Iat+uR+piX6fvbceQx19CgVzpOt5DEMOsf8diGqwvaXamIQdVTCrqYvmP7JnLgob DWKm2k/Kg+4GTEB2SLVXi4+ad2uuIdYnOK1zKlt6gGp/O6nXUdeaIHD5OqAIRYEpkalOgg Hbi/Xzhp8IMv5dMmWw6lKvAkiyLg5z8EzqYcThcAD6Jpqjm30ty+ZWJf8+Iev0rCboE9WF 8S1AC0O1zjM/UNuFy10tG/NuwgU+r+b+eTdkTDcHo4NyRWqwrVCLeRI7bHmXXE6jrmE66D urjo31tZoscn+ktguAz3cmmDgcGySo+O629mIGBX33eURSIrDYCB4QBriyaKyw== From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Vladimir Zapolskiy , Piotr Wojtaszczyk , Haotian Zhang Cc: linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20251104100842.369-1-vulab@iscas.ac.cn> References: <20251104100842.369-1-vulab@iscas.ac.cn> Subject: Re: [PATCH] mtd: rawnand: lpc32xx_slc: Convert to use devm_gpiod_get_optional() Message-Id: <176337690443.1740915.2027310433419117418.b4-ty@bootlin.com> Date: Mon, 17 Nov 2025 11:55:04 +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.2 X-Last-TLS-Session-Version: TLSv1.3 On Tue, 04 Nov 2025 18:08:41 +0800, Haotian Zhang wrote: > The initial fix for a GPIO descriptor leak added manual gpiod_put() > calls in the error path and remove function. > > This follow-up patch improves upon the fix by switching to the > resource-managed devm_gpiod_get_optional() API. > > > [...] Applied to nand/next, thanks! [1/1] mtd: rawnand: lpc32xx_slc: Convert to use devm_gpiod_get_optional() commit: 1f3dcfe5fcf57739b4a82811c12e55c48d794f86 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