diff options
| author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-12-11 15:02:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:05 +0200 |
| commit | c5197b9e45f0de50aa3f704db0760972faa7dd70 (patch) | |
| tree | 5560792f9dddee09bf60b5bd545f78aaaa735db5 /include/linux/stackprotector.h | |
| parent | 724cfd5930d95c4759e06884b52d78501c192d13 (diff) | |
mtd: nand: denali: add missing nand_release() call in denali_remove()
commit 320092a05dab2f44819c42f33d6b51efb6c474f2 upstream.
Unregister the NAND device from the NAND subsystem when removing a denali
NAND controller, otherwise the MTD attached to the NAND device is still
exposed by the MTD layer, and accesses to this device will likely crash
the system.
Fixes: 2a0a288ec258 ("mtd: denali: split the generic driver and PCI layer")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
