summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-11-14 00:24:18 +0900
committerJeff Garzik <jgarzik@pobox.com>2005-11-13 10:31:43 -0500
commite9c05afa80ba9368ec5f78d493b17a8f836ef508 (patch)
tree294ea4be14e6ad608d5e354d81605514858ca600 /drivers
parent9e6c67fd2716720d9029d38ea25884efcfdedeb6 (diff)
downloadop-kernel-dev-e9c05afa80ba9368ec5f78d493b17a8f836ef508.zip
op-kernel-dev-e9c05afa80ba9368ec5f78d493b17a8f836ef508.tar.gz
[PATCH] sil24: add missing ata_pad_free()
sil24_port_stop() is missing call to ata_pad_free() thus leaking pad buffer when a port is stopped. This patch adds it. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/sata_sil24.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index d3198d9..55e744d 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -687,6 +687,7 @@ static void sil24_port_stop(struct ata_port *ap)
struct sil24_port_priv *pp = ap->private_data;
sil24_cblk_free(pp, dev);
+ ata_pad_free(ap, dev);
kfree(pp);
}
OpenPOWER on IntegriCloud