Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fae07dc389bc32a3638b9d4c61dd3738ca3fb61d
Commit:     fae07dc389bc32a3638b9d4c61dd3738ca3fb61d
Parent:     f98b6573f190aff2748894da13a48bab0f10c733
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 11 22:26:25 2006 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Dec 16 10:12:29 2006 -0500

    [PATCH] ata_piix: use piix_host_stop() in ich_pata_ops
    
    piix_init_one() allocates host private data which should be freed by
    piix_host_stop().  ich_pata_ops wasn't converted to piix_host_stop()
    while merging, leaking 4 bytes on driver detach.  Fix it.
    
    This was spotted using Kmemleak by Catalin Marinas.
    
    Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
    Cc: Catalin Marinas <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/ata_piix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 58dba1d..47701b2 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -342,7 +342,7 @@ static const struct ata_port_operations ich_pata_ops = {
 
        .port_start             = ata_port_start,
        .port_stop              = ata_port_stop,
-       .host_stop              = ata_host_stop,
+       .host_stop              = piix_host_stop,
 };
 
 static const struct ata_port_operations piix_sata_ops = {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to