diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2011-07-03 13:26:47 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-07-24 00:03:54 +0200 |
commit | 04e506b5e7bd61c3a99af9964f7f1177c17f3424 (patch) | |
tree | 7448465bc6c2662ec3b7a7a3e5c3de2edc31663b /drivers/ata/pata_it821x.c | |
parent | ahci: Enable SB600 64bit DMA on Asus M3A (diff) | |
download | linux-04e506b5e7bd61c3a99af9964f7f1177c17f3424.tar.xz linux-04e506b5e7bd61c3a99af9964f7f1177c17f3424.zip |
sata_dwc_460ex: fix error path
Fixed hsdev memleak on sata_dwc_probe() error.
As dma_dwc_exit() can be called multiple times without sata_dma_regs and
irq_dma changes, it might lead to double free on sequential
dma_dwc_exit() calls. So, zero these fields after free calls.
Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/ata/pata_it821x.c')
0 files changed, 0 insertions, 0 deletions