diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-18 11:28:14 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-20 00:14:14 +0300 |
commit | 79e1ca37cc0c056f224cc1dd4a301b9dc2f94167 (patch) | |
tree | 752049ded32d5c5ae2964287fd44ce73679915f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7330fc505af4af262ef874a4fc4492393106fdce (diff) | |
download | linux-79e1ca37cc0c056f224cc1dd4a301b9dc2f94167.tar.xz |
mtd: rawnand: fsmc: Stop using chip->read_buf()
chip->read_buf is left unassigned since commit 4da712e70294 ("mtd: nand:
fsmc: use ->exec_op()"), leading to a NULL pointer dereference when it's
called from fsmc_read_page_hwecc(). Fix that by using the appropriate
helper to read data out of the NAND.
Fixes: 4da712e70294 ("mtd: nand: fsmc: use ->exec_op()")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions