From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 21 Sep 2015 17:15:28 -0700 From: Brian Norris To: Boris Brezillon Cc: David Woodhouse , linux-mtd@lists.infradead.org, Maxime Ripard , linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, Priit Laes , Hans de Goede , stable@vger.kernel.org Subject: Re: [PATCH] mtd: nand: sunxi: fix sunxi_nand_chips_cleanup() Message-ID: <20150922001528.GL31505@google.com> References: <1442160883-29011-1-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442160883-29011-1-git-send-email-boris.brezillon@free-electrons.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Sep 13, 2015 at 06:14:43PM +0200, Boris Brezillon wrote: > The sunxi_nand_chips_cleanup() function is missing a call to list_del() > which generates a double free error. And if you could manage to get past that...an infinite loop, no? > Reported-by: Priit Laes > Signed-off-by: Boris Brezillon > Cc: # 3.19+ > Fixes: 1fef62c1423b ("mtd: nand: add sunxi NAND flash controller support") Applied to linux-mtd.git, as this is a -stable fix. Brian