From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC289C4332F for ; Mon, 21 Nov 2022 07:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:From:In-Reply-To:MIME-Version: References:Message-ID:Subject:Cc:To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BDMg81sgwzXMHiVgLoFzchp5xN5rGOuy+3q6ntfb6M4=; b=32iMdDh1V0og8tXyHmrQcQenR6 P+6V5OCnmp8ho1ZTJC6vfeT3vpCvjzLtdU+Fx9yTgGAemD+LgNIJ6Sxbemn01GwNlZJHWnskq4BvQ Jwa1BaHAwFeveMoah4asY6c9v2+Mvh+y73Jv9RXq3Q+L48NacQh1RIwD617ycocGRaVqMUTvtiy5e bsH82ZFNUGHZWnav5gATzZmr6PYVTNtvQ/o+1IxCYgbT5KqMsFIpD2B9ygnMehj8ciQpIeZwL5xce oDyLXt9KrFtXpImYeUTCi7C3zm85mJ5LDHQt7FzLnBDLYTMEVbts2rnyq81ot0pBSk4HNtnvW4UXm zuVpvIhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox1fA-00Ajft-Ld; Mon, 21 Nov 2022 07:56:20 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox1f7-00AjNH-B0 for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 07:56:18 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox1f3-000385-OO; Mon, 21 Nov 2022 08:56:13 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ox1f2-0005LQ-Hr; Mon, 21 Nov 2022 08:56:12 +0100 Date: Mon, 21 Nov 2022 08:56:12 +0100 To: Michael Walle Cc: Jonathan Corbet , Srinivas Kandagatla , Miquel Raynal , Rob Herring , Frank Rowand , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 06/18] nvmem: core: drop the removal of the cells in nvmem_add_cells() Message-ID: <20221121075612.GM3143@pengutronix.de> References: <20221118185118.1190044-1-michael@walle.cc> <20221118185118.1190044-7-michael@walle.cc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221118185118.1190044-7-michael@walle.cc> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) From: Sascha Hauer X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221120_235617_402304_6DBEF681 X-CRM114-Status: GOOD ( 15.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Nov 18, 2022 at 07:51:06PM +0100, Michael Walle wrote: > If nvmem_add_cells() fails, the whole nvmem_register() will fail > and the cells will then be removed anyway. This is a prepartion s/prepartion/preparation/ Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel