From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934489AbcIUOmi (ORCPT ); Wed, 21 Sep 2016 10:42:38 -0400 Received: from down.free-electrons.com ([37.187.137.238]:35375 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932639AbcIUOmc (ORCPT ); Wed, 21 Sep 2016 10:42:32 -0400 Date: Wed, 21 Sep 2016 16:42:29 +0200 From: Boris Brezillon To: Daniel Walter Cc: linux-mtd@lists.infradead.org, computersforpeace@gmail.com, linux-kernel@vger.kernel.org, Richard Weinberger Subject: Re: [PATCH v2 02/46] mtd: nand: Provide nand_cleanup() function to free NAND related resources Message-ID: <20160921164229.7488c1ea@bbrezillon> In-Reply-To: <83ce4313-f63e-3b08-53d7-2d5eb8c97bda@sigma-star.at> References: <8b9dd116b40fb7965a29fe0d051bd8b85e3f036b.1474450295.git.dwalter@sigma-star.at> <20160921162521.4b9f83d7@bbrezillon> <83ce4313-f63e-3b08-53d7-2d5eb8c97bda@sigma-star.at> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Sep 2016 16:38:28 +0200 Daniel Walter wrote: > Boris, > > On 09/21/2016 04:25 PM, Boris Brezillon wrote: > > Daniel, Richard, > > > > On Wed, 21 Sep 2016 11:44:41 +0200 > > Daniel Walter wrote: > > > >> From: Richard Weinberger > >> > >> Provide a nand_cleanup() function to free all nand related resources > >> without unregistering the mtd device. > >> This should allow drivers to call mtd_device_unregister() and handle > >> its return value and still being able to cleanup all nand related > >> resources. > >> > > > > Can you check this version? > > looks good to me. > I'll incooperate the change in v3 (AFAIR this change will break the last > patch of the series). I applied the patch to my nand/next branch [1] (which means it's queued for 4.9). Rebase your work on top of this branch and you should be good. Thanks, Boris [1]https://github.com/linux-nand/linux/commits/nand/next