summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorBrent Taylor <motobud@gmail.com>2017-10-30 22:32:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-05 11:22:51 +0100
commitc8ea49b690eef5c180369a8d132c5e50a74b3acf (patch)
tree7e437ebb73afca634f6177244654807889538309 /kernel/trace/trace_functions_graph.c
parenta155a9568d9abf50fe4913c4bf7b46a8281d3dc3 (diff)
mtd: nand: Fix writing mtdoops to nand flash.
commit 30863e38ebeb500a31cecee8096fb5002677dd9b upstream. When mtdoops calls mtd_panic_write(), it eventually calls panic_nand_write() in nand_base.c. In order to properly wait for the nand chip to be ready in panic_nand_wait(), the chip must first be selected. When using the atmel nand flash controller, a panic would occur due to a NULL pointer exception. Fixes: 2af7c6539931 ("mtd: Add panic_write for NAND flashes") Cc: <stable@vger.kernel.org> Signed-off-by: Brent Taylor <motobud@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions