Hi,
Here's a patch against 2.4.17-pre1 from Randy Dunlap and Vojtech Pavlik
that fixes a bug, that causes some users an oops, in the USB HID driver.
thanks,
greg k-h
diff -Nru a/drivers/usb/hid-core.c b/drivers/usb/hid-core.c
--- a/drivers/usb/hid-core.c Thu Nov 29 22:23:48 2001
+++ b/drivers/usb/hid-core.c Thu Nov 29 22:23:48 2001
@@ -1236,7 +1236,7 @@
c = "Device";
for (i = 0; i < hid->maxapplication; i++)
- if (IS_INPUT_APPLICATION(hid->application[i])) {
+ if ((hid->application[i] & 0xffff) < ARRAY_SIZE(hid_types)) {
c = hid_types[hid->application[i] & 0xffff];
break;
}
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel