Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7ee2413ca0da80c819f2388c0faeffce1ac8513b
Commit:     7ee2413ca0da80c819f2388c0faeffce1ac8513b
Parent:     75b8c133267053c9986a7c8db5131f0e7349e806
Author:     Tony Battersby <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 6 14:40:54 2007 -0500
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue Dec 18 16:03:09 2007 -0600

    [SCSI] sym53c8xx: fix free_irq() regression
    
    The following commit changed the pointer passed to request_irq(), but
    failed to change the pointer passed to free_irq():
    
    commit 99c9e0a1d6cfe1ba1169a7a81435ee85bc00e4a1
    Author: Matthew Wilcox <[EMAIL PROTECTED]>
    Date:   Fri Oct 5 15:55:12 2007 -0400
    
        [SCSI] sym53c8xx: Make interrupt handler capable of returning IRQ_NONE
    
        ...
    
    The result is that free_irq() doesn't actually take any action.  This
    patch fixes it.
    
    Signed-off-by: Tony Battersby <[EMAIL PROTECTED]>
    Acked-by: Christoph Hellwig <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/sym53c8xx_2/sym_glue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c 
b/drivers/scsi/sym53c8xx_2/sym_glue.c
index 0f74aba..9e0908d 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1243,7 +1243,7 @@ static void sym_free_resources(struct sym_hcb *np, struct 
pci_dev *pdev)
         *  Free O/S specific resources.
         */
        if (pdev->irq)
-               free_irq(pdev->irq, np);
+               free_irq(pdev->irq, np->s.host);
        if (np->s.ioaddr)
                pci_iounmap(pdev, np->s.ioaddr);
        if (np->s.ramaddr)
-
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