commit | 8e375ccda31ccc73b087134e263c48d2114534f4 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Sun Sep 13 18:14:43 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Sep 21 17:11:59 2015 -0700 |
tree | 3f28bff5bbb1c551eedcc26e796c528c10e4afd1 | |
parent | 03a0e8a7c5ea29b5c4e72dfd64900b47a8fb6f2d [diff] |
mtd: nand: sunxi: fix sunxi_nand_chips_cleanup() The sunxi_nand_chips_cleanup() function is missing a call to list_del() which generates a double free error. Reported-by: Priit Laes <plaes@plaes.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: <stable@vger.kernel.org> # 3.19+ Fixes: 1fef62c1423b ("mtd: nand: add sunxi NAND flash controller support") Tested-by: Priit Laes <plaes@plaes.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>