From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com ([209.85.220.41]:34607 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754613AbbIVAPb (ORCPT ); Mon, 21 Sep 2015 20:15:31 -0400 Received: by padhy16 with SMTP id hy16so130474277pad.1 for ; Mon, 21 Sep 2015 17:15:31 -0700 (PDT) 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> Sender: stable-owner@vger.kernel.org List-ID: 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