Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6cad95fe97dc062d0367da125ac0b2e5f1694b23
Commit:     6cad95fe97dc062d0367da125ac0b2e5f1694b23
Parent:     5af4e5eab30d481f76b89a2167c873dfad960acb
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Sun Jan 21 20:46:45 2007 +0100
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 22:02:41 2007 +0100

    firewire: fix failure path in ohci_enable_phys_dma
    
    "goto out" happens with the lock taken.
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
    Signed-off-by: Kristian Høgsberg <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-ohci.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index ea52e15..1b4b53d 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -850,10 +850,8 @@ ohci_enable_phys_dma(struct fw_card *card, int node_id, 
int generation)
                          1 << (node_id - 32));
        }
        flush_writes(ohci);
-
-       spin_unlock_irqrestore(&ohci->lock, flags);
-
  out:
+       spin_unlock_irqrestore(&ohci->lock, flags);
        return retval;
 }
 
-
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