linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.0-test4][TRIVIAL][USB] digi_acceleport.c: typo fix spin_lock_irqrestore
@ 2003-08-23 14:29 Vinay K Nallamothu
  2003-08-27 21:57 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Vinay K Nallamothu @ 2003-08-23 14:29 UTC (permalink / raw)
  To: Trivial Patch Monkey; +Cc: LKML

--- linux-2.6.0-test4/drivers/usb/serial/digi_acceleport.c	2003-08-23 13:14:37.000000000 +0530
+++ linux-2.6.0-test4-nvk/drivers/usb/serial/digi_acceleport.c	2003-08-23 19:35:29.000000000 +0530
@@ -218,7 +218,7 @@
 *    interrupt time.
 *  - digi_write_bulk_callback() and digi_read_bulk_callback() are
 *    called directly from interrupts.  Hence spin_lock_irqsave()
-*    and spin_lock_irqrestore() are used in the rest of the code
+*    and spin_unlock_irqrestore() are used in the rest of the code
 *    for any locks they acquire.
 *  - digi_write_bulk_callback() gets the port lock before waking up
 *    processes sleeping on the port write_wait.  It also schedules
@@ -571,7 +571,7 @@
 *
 *  Do spin_unlock_irqrestore and interruptible_sleep_on_timeout
 *  so that wake ups are not lost if they occur between the unlock
-*  and the sleep.  In other words, spin_lock_irqrestore and
+*  and the sleep.  In other words, spin_unlock_irqrestore and
 *  interruptible_sleep_on_timeout are "atomic" with respect to
 *  wake ups.  This is used to implement condition variables.
 */




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.6.0-test4][TRIVIAL][USB] digi_acceleport.c: typo fix spin_lock_irqrestore
  2003-08-23 14:29 [PATCH 2.6.0-test4][TRIVIAL][USB] digi_acceleport.c: typo fix spin_lock_irqrestore Vinay K Nallamothu
@ 2003-08-27 21:57 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-08-27 21:57 UTC (permalink / raw)
  To: Vinay K Nallamothu; +Cc: Trivial Patch Monkey, LKML

On Sat, Aug 23, 2003 at 07:59:20PM +0530, Vinay K Nallamothu wrote:
> --- linux-2.6.0-test4/drivers/usb/serial/digi_acceleport.c	2003-08-23 13:14:37.000000000 +0530
> +++ linux-2.6.0-test4-nvk/drivers/usb/serial/digi_acceleport.c	2003-08-23 19:35:29.000000000 +0530

Thanks, I've applied this to my trees.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-27 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-23 14:29 [PATCH 2.6.0-test4][TRIVIAL][USB] digi_acceleport.c: typo fix spin_lock_irqrestore Vinay K Nallamothu
2003-08-27 21:57 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).