summaryrefslogtreecommitdiffstats
path: root/commands/mmc_extcsd.c
diff options
context:
space:
mode:
authorHeinrich Toews <Heinrich.Toews@wago.com>2018-06-18 10:48:18 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-20 09:05:58 +0200
commit51c0c6454944d53b63de7b1f42484ed5dc64d703 (patch)
tree87554ef3c075fce6ac5df5bb2ce42fc9dd8395f3 /commands/mmc_extcsd.c
parente10efc50805672b426f9cdcf4e72a1ba1bd89a8b (diff)
downloadbarebox-51c0c6454944d53b63de7b1f42484ed5dc64d703.tar.gz
barebox-51c0c6454944d53b63de7b1f42484ed5dc64d703.tar.xz
nand-bb: mtd_del_bb: fix missing pointer reset
If an attached bb device was removed before the actual mtd device the code would try due to a missing pointer reset to access the no more present bb device handle which leads to a page fault. This bug was made visible by commit "7649473 mtd: nand: remove automatically created bb devices" which relys on a correct mtd->cdev_bb handling. Signed-off-by: Heinrich Toews <heinrich.toews@wago.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/mmc_extcsd.c')
0 files changed, 0 insertions, 0 deletions