Patch "mtd: nand: sunxi: fix sunxi_nand_chips_cleanup()" has been added to the 4.1-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
mtd: nand: sunxi: fix sunxi_nand_chips_cleanup()
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mtd-nand-sunxi-fix-sunxi_nand_chips_cleanup.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
8e375ccda31ccc73b087134e263c48d2114534f4Mon Sep 17 00:00:00 2001
From: Boris BREZILLON <[email protected]>
Date: Sun, 13 Sep 2015 18:14:43 +0200
Subject: mtd: nand: sunxi: fix sunxi_nand_chips_cleanup()
From: Boris BREZILLON <[email protected]>
commit 8e375ccda31ccc73b087134e263c48d2114534f4 upstream.
The sunxi_nand_chips_cleanup() function is missing a call to list_del() which generates a double free error.
--- drivers/mtd/nand/sunxi_nand.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/nand/sunxi_nand.c +1 -0
@@ -1312,6 +1312,7 @@ static void sunxi_nand_chips_cleanup(str node);nand_release (&chip->mtd);sunxi_nand_ecc_cleanup (&chip->nand.ecc); +list_del (&chip->node); } }
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/mtd-nand-sunxi-fix-sunxi_nand_chips_cleanup.patch queue-4.1/mtd-nand-sunxi-fix-oob-handling-in-write_xxx-functions.patch queue-4.1/irqchip-atmel-aic5-use-per-chip-mask-caches-in-mask-unmask.patch