projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e6c67f
)
[PATCH] sil24: add missing ata_pad_free()
author
Tejun Heo
<htejun@gmail.com>
Sun, 13 Nov 2005 15:24:18 +0000
(
00:24
+0900)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sun, 13 Nov 2005 15:31:43 +0000
(10:31 -0500)
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>
drivers/scsi/sata_sil24.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/sata_sil24.c
b/drivers/scsi/sata_sil24.c
index d3198d9a72c12ffd3084ba39049c1ebeef197411..55e744d6db88338486d4c471dc311f3bb480a080 100644
(file)
--- 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);
}