mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Dmitry Torokhov <dtor@mail.ru>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH] Amiga joystick typo (was: Re: Input: fix open/close races in joystick drivers - add a semaphore)
Date: Wed, 13 Jul 2005 12:56:42 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.62.0507131254590.5536@anakin> (raw)
In-Reply-To: <200506280052.j5S0qDQT010792@hera.kernel.org>

On Mon, 27 Jun 2005, Linux Kernel Mailing List wrote:
> tree 11d80109ddc2f61de6a75a37941346100a67a0d1
> parent af246041277674854383cf91b8f0b01217b521e8
> author Dmitry Torokhov <dtor_core@ameritech.net> Sun, 29 May 2005 12:29:52 -0500
> committer Dmitry Torokhov <dtor_core@ameritech.net> Sun, 29 May 2005 12:29:52 -0500
> 
> Input: fix open/close races in joystick drivers - add a semaphore
>        to the ones that register more than one input device.
> 
> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> 
>  drivers/input/joystick/amijoy.c     |   29 ++++++++++++++++-------------

This patch broke compilation of amijoy. Trivial fix below.

Amiga joystick: Fix typo introduced by fixing the open/close races in
2.6.13-rc1

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

--- linux-2.6.13-rc1/drivers/input/joystick/amijoy.c	2005-06-29 22:15:20.000000000 +0200
+++ linux-m68k-2.6.13-rc1/drivers/input/joystick/amijoy.c	2005-07-12 13:20:20.000000000 +0200
@@ -105,7 +105,7 @@ out:
 
 static void amijoy_close(struct input_dev *dev)
 {
-	down(&amijoysem);
+	down(&amijoy_sem);
 	if (!--amijoy_used)
 		free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt);
 	up(&amijoy_sem);

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

       reply	other threads:[~2005-07-13 11:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200506280052.j5S0qDQT010792@hera.kernel.org>
2005-07-13 10:56 ` Geert Uytterhoeven [this message]
2005-07-13 14:11   ` Dmitry Torokhov
2005-07-13 16:28     ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.62.0507131254590.5536@anakin \
    --to=geert@linux-m68k.org \
    --cc=akpm@osdl.org \
    --cc=dtor@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®