All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SCSI: Fix obvious typo "spin_lock_irqrestore()" in gdth.c.
@ 2007-02-01 13:28 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2007-02-01 13:28 UTC (permalink / raw)
  To: Linux kernel mailing list; +Cc: achim_leubner


  Fix misspelled "spin_lock_irqrestore" to read
"spin_unlock_irqrestore" instead.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index 4c698a7..25f7cf4 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -1956,7 +1956,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 */

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-01 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 13:28 [PATCH] SCSI: Fix obvious typo "spin_lock_irqrestore()" in gdth.c Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.