Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=63f991b2871bdb1431e8ff62cae2b7b94b4e5b0c
Commit:     63f991b2871bdb1431e8ff62cae2b7b94b4e5b0c
Parent:     e015268d2fcfcaef70a1ec535e6381f75aafbf81
Author:     Alan Stern <[EMAIL PROTECTED]>
AuthorDate: Tue Sep 4 09:53:24 2007 -0400
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:55:24 2007 -0700

    USB: fix location of statement label in dummy-hcd
    
    This patch (as984) fixes a rather elementary mistake in dummy_hcd.
    The new statement label should come before the spin_unlock_irqrestore,
    not after it.
    
    Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/gadget/dummy_hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index 58e4d72..6479a36 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1001,8 +1001,8 @@ static int dummy_urb_enqueue (
        if (!timer_pending (&dum->timer))
                mod_timer (&dum->timer, jiffies + 1);
 
-       spin_unlock_irqrestore (&dum->lock, flags);
  done:
+       spin_unlock_irqrestore(&dum->lock, flags);
        return rc;
 }
 
-
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