[PATCH] mtd: nand: sunxi: fix sunxi_nand_chips_cleanup()

Boris Brezillon boris.brezillon at free-electrons.com
Tue Sep 22 00:52:06 PDT 2015


Hi Brian,

On Mon, 21 Sep 2015 17:15:28 -0700
Brian Norris <computersforpeace at gmail.com> wrote:

> 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?

Right, feel free to add it in the commit message.

Best Regards,

Boris

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list