* linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock
@ 2002-11-01 21:28 Olaf Hering
2002-11-01 21:32 ` Greg KH
2002-11-06 12:19 ` Marcelo Tosatti
0 siblings, 2 replies; 3+ messages in thread
From: Olaf Hering @ 2002-11-01 21:28 UTC (permalink / raw)
To: linux-kernel; +Cc: Marcelo Tosatti, Greg KH
What shoud this patch fix?
It locks up my iBook when attaching an Apple USB keyboard. Other people
reported similar hangs.
Please revert it or find a better solution for 2.4.20.
----- Forwarded message from Olaf Hering <olaf@suse.de> -----
Date: Tue, 15 Oct 2002 06:05:51 +0200
Subject: Incoming changes to linux-2.4 cset 1.736.3.2 mandarine.suse.de:/olaf/sources/tree/linux-2.4
From: Olaf Hering <olaf@suse.de>
To: olh@suse.de
old status OK
ChangeSet
1.736.3.2 02/10/11 11:02:13 acme@conectiva.com.br +1 -0
[PATCH] hid-input: fix find_next_zero_bit usage
It was swapping the parameters, using the bitfield size for the
offset and the offset for the bitfield size. With this the mouse
buttons in my wireless USB keyboard finally works 8) 2.4 has the
same problem.
drivers/usb/hid-input.c
1.3 02/10/09 18:26:11 acme@conectiva.com.br[greg] +1 -1
hid-input: fix find_next_zero_bit usage
.........................................................................
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.736.3.1 -> 1.736.3.2
# drivers/usb/hid-input.c 1.2 -> 1.3
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/11 acme@conectiva.com.br 1.736.3.2
# [PATCH] hid-input: fix find_next_zero_bit usage
#
# It was swapping the parameters, using the bitfield size for the
# offset and the offset for the bitfield size. With this the mouse
# buttons in my wireless USB keyboard finally works 8) 2.4 has the
# same problem.
# --------------------------------------------
#
diff -Nru a/drivers/usb/hid-input.c b/drivers/usb/hid-input.c
--- a/drivers/usb/hid-input.c Tue Oct 15 06:05:50 2002
+++ b/drivers/usb/hid-input.c Tue Oct 15 06:05:50 2002
@@ -271,7 +271,7 @@
set_bit(usage->type, input->evbit);
while (usage->code <= max && test_and_set_bit(usage->code, bit)) {
- usage->code = find_next_zero_bit(bit, max + 1, usage->code);
+ usage->code = find_next_zero_bit(bit, usage->code, max + 1);
}
if (usage->code > max) return;
.........................................................................
----- End forwarded message -----
--
$ man Notes
BUGS
You need http://www.sauerstoff-laden.de/ soon...
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock
2002-11-01 21:28 linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock Olaf Hering
@ 2002-11-01 21:32 ` Greg KH
2002-11-06 12:19 ` Marcelo Tosatti
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2002-11-01 21:32 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-kernel, Marcelo Tosatti
On Fri, Nov 01, 2002 at 10:28:52PM +0100, Olaf Hering wrote:
> What shoud this patch fix?
>
> It locks up my iBook when attaching an Apple USB keyboard. Other people
> reported similar hangs.
> Please revert it or find a better solution for 2.4.20.
It's wrong and Marcelo said he would revert it. Marcelo, do you want me
to make up a tree so that you can pull this change from?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock
2002-11-01 21:28 linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock Olaf Hering
2002-11-01 21:32 ` Greg KH
@ 2002-11-06 12:19 ` Marcelo Tosatti
1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2002-11-06 12:19 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-kernel, Greg KH
On Fri, 1 Nov 2002, Olaf Hering wrote:
> What shoud this patch fix?
>
> It locks up my iBook when attaching an Apple USB keyboard. Other people
> reported similar hangs.
> Please revert it or find a better solution for 2.4.20.
Olaf,
I already reverted it. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-06 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01 21:28 linux-2.4 cset 1.736.3.2 breaks USB hubs , deadlock Olaf Hering
2002-11-01 21:32 ` Greg KH
2002-11-06 12:19 ` Marcelo Tosatti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox