projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370ba07
)
[libata] ata_piix: add missing kfree()
author
Jeff Garzik
<jeff@garzik.org>
Mon, 14 Aug 2006 18:22:54 +0000
(14:22 -0400)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 14 Aug 2006 18:22:54 +0000
(14:22 -0400)
Noticed by Andrew Morton.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_piix.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ata_piix.c
b/drivers/ata/ata_piix.c
index 46c34fd5af8f72ee85c242bef27205f20d7f6012..51d919c8073d9e11461b76cd03a5c872996dc6ba 100644
(file)
--- a/
drivers/ata/ata_piix.c
+++ b/
drivers/ata/ata_piix.c
@@
-932,7
+932,11
@@
static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
static void piix_host_stop(struct ata_host_set *host_set)
{
+ struct piix_host_priv *hpriv = host_set->private_data;
+
ata_host_stop(host_set);
+
+ kfree(hpriv);
}
static int __init piix_init(void)