Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7a960b76ed1878a208e8bc68fe436b40aaff3ab5
Commit:     7a960b76ed1878a208e8bc68fe436b40aaff3ab5
Parent:     6c4b7e4fdf702136891f802bdf7ad52076594721
Author:     Robert P. J. Day <[EMAIL PROTECTED]>
AuthorDate: Wed May 23 14:41:40 2007 -0700
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Wed May 30 08:39:52 2007 -0500

    [SCSI] gdth: Fix obvious typo "spin_lock_irqrestore()"
    
    Fix misspelled "spin_lock_irqrestore" to read "spin_unlock_irqrestore"
    instead.
    
    Presumably, GDTH_RTC doesn't get used a lot.
    
    Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>
    Acked-by: Achim Leubner <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/gdth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index a4a8259..d0b95ce 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -1955,7 +1955,7 @@ static int __init gdth_search_drives(int hanum)
         for (j = 0; j < 12; ++j) 
             rtc[j] = CMOS_READ(j);
     } while (rtc[0] != CMOS_READ(0));
-    spin_lock_irqrestore(&rtc_lock, flags);
+    spin_unlock_irqrestore(&rtc_lock, flags);
     TRACE2(("gdth_search_drives(): RTC: %x/%x/%x\n",*(ulong32 *)&rtc[0],
             *(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8]));
     /* 3. send to controller firmware */
-
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