mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank Davis <fdavis@si.rr.com>
To: linux-kernel@vger.kernel.org
Cc: fdavis@si.rr.com, <trivial@rustcorp.com.au>
Subject: [PATCH[ 2.5.59 : drivers/input/joydev.c
Date: Fri, 7 Feb 2003 11:59:18 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0302071157330.6917-100000@master> (raw)

Hello all,
   The following patch addresses buzilla bug # 309, and removes an 
offending semicolon. Please review for inclusion.

Regards,
Frank

--- linux/drivers/input/joydev.c.old	2003-01-16 21:22:09.000000000 -0500
+++ linux/drivers/input/joydev.c	2003-02-07 03:16:17.000000000 -0500
@@ -340,7 +340,7 @@
 		case JSIOCSBTNMAP:
 			if (copy_from_user(joydev->keypam, (__u16 *) arg, sizeof(__u16) * (KEY_MAX - BTN_MISC)))
 				return -EFAULT;
-			for (i = 0; i < joydev->nkey; i++); {
+			for (i = 0; i < joydev->nkey; i++) {
 				if (joydev->keypam[i] > KEY_MAX || joydev->keypam[i] < BTN_MISC) return -EINVAL;
 				joydev->keymap[joydev->keypam[i] - BTN_MISC] = i;
 			}


                 reply	other threads:[~2003-02-07 16:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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.44.0302071157330.6917-100000@master \
    --to=fdavis@si.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /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®