mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [patch] Input - Fix atkbd.c oops on Alpha [2/5]
Date: Fri, 11 Oct 2002 12:44:52 +0200	[thread overview]
Message-ID: <20021011124452.A1763@ucw.cz> (raw)
In-Reply-To: <20021011124406.A1677@ucw.cz>; from vojtech@suse.cz on Fri, Oct 11, 2002 at 12:44:06PM +0200


You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.
'bk pull bk://linux-input.bkbits.net/linux-input' should work as well.

===================================================================

ChangeSet@1.733.2.4, 2002-10-10 17:28:04-07:00, rth@dot.sfbay.redhat.com
  Avoid oops on systems that set atkbd_reset.


 atkbd.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

===================================================================

diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c	Fri Oct 11 12:42:59 2002
+++ b/drivers/input/keyboard/atkbd.c	Fri Oct 11 12:42:59 2002
@@ -244,8 +244,9 @@
 
 	while (atkbd->cmdcnt && timeout--) udelay(10);
 
-	for (i = 0; i < receive; i++)
-		param[i] = atkbd->cmdbuf[(receive - 1) - i];
+	if (param)
+		for (i = 0; i < receive; i++)
+			param[i] = atkbd->cmdbuf[(receive - 1) - i];
 
 	if (atkbd->cmdcnt) 
 		return (atkbd->cmdcnt = 0) - 1;

===================================================================

This BitKeeper patch contains the following changesets:
1.733.2.4
## Wrapped with gzip_uu ##


begin 664 bkpatch1661
M'XL(`#.KICT``[64;4_;,!#'7\>?XB3>@%`2/Z5NPXI@;-JF30(Q\0JAR8E=
MXK6)*]LMZI0//S=4H$ECL&DD5I2S+^>[^__B/;CRVI7)VGX/NF[0'GRT/I2)
M7WF=U3^B?6EMM//&MCK?>>75/#?=<A507+^0H6Y@K9TO$Y*QAYFP6>HRN7S_
MX>K+Z25"TRF<-;*[U5]U@.D4!>O6<J'\B0S-PG99<++SK0XRJVW;/[CV%&,:
M[X((AHM13T:8B[XFBA#)B5:8\O&((Q>:$V5#YF>5W&1.JT:&WP0BF&",B>"L
M)VS""O0.2"88RVC&`=.<X#B`B)*.2\Q3+$J,X:G8<$@@Q>@M_-]2SE`-IVMK
M%%B[]&`[\!L?=.LAQ(W!Q_;),*_4-Z?C>X8^`^&"<W3QV%^4_N6%$)88'<-.
MWY-P9Q;FM@G9JKZ+%/3*F:W`]Z+G<[VIK'0J'_+(ZOO"!&:$X3''/9F,">FK
M2DTTQ5H1-IH(]F0;7Q(\ZA:%HZ*@/:=X-!EP^O-W6\9>L9R'V+L?Y655X`F)
MRA>XYX2,V4`?+7X%3Y0%?18\!BE]%?#.6Q,1BW$UF"Y86$HG6S`SB-/&0[=:
M++;$W8MP#JF[&T8DZ.(9/?Z!R7>4"Z#H4TP/&$IB%OM#/@<H26;6P;Z!*>`C
M,/`&G*YUW#X:AX?;]63PO#8WT67((#VN6U6M9M?[.U=(@1S$A[DY>CS&ZD;7
4<[]JIUHH/E(S@GX"1ADK_R$%````
`
end

  reply	other threads:[~2002-10-11 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11 10:44 [patch] Input - HID - fix find_next_zero usage [1/5] Vojtech Pavlik
2002-10-11 10:44 ` Vojtech Pavlik [this message]
2002-10-11 10:45   ` [patch] Input - Fixes in Active PS/2 Multiplexing support [3/5] Vojtech Pavlik
2002-10-11 10:45     ` [patch] Input - Fixes in uinput.c [4/5] Vojtech Pavlik
2002-10-11 10:46       ` [patch] Input - Fix keyboard autorepeat ioctl [5/5] Vojtech Pavlik

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=20021011124452.A1763@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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®