diff options
author | Magnus Damm <damm@opensource.se> | 2009-03-11 12:59:03 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2009-03-24 20:30:03 (GMT) |
commit | bedcc45c2e5d72b1c4b087b725c391441a93eee6 (patch) | |
tree | 366a7472ebe65f9bba02d3599282022ca120ac72 /drivers/dma/ioat_dma.c | |
parent | bc6772a023ceab8df404b18b31c27f764dcf5b3f (diff) | |
download | linux-fsl-qoriq-bedcc45c2e5d72b1c4b087b725c391441a93eee6.tar.xz |
tmio_mmc: Fix use after free in remove()
Update the tmio_mmc code to call mmc_free_host() when
done using the private data. Without this fix the driver
frees memory and then keeps on using it as private data.
Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/dma/ioat_dma.c')
0 files changed, 0 insertions, 0 deletions