patch-2.4.26 linux-2.4.26/drivers/usb/hid-input.c
Next file: linux-2.4.26/drivers/usb/hiddev.c
Previous file: linux-2.4.26/drivers/usb/hid-core.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
2004-04-14 06:05:32.000000000 -0700
- Orig file:
linux-2.4.25/drivers/usb/hid-input.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.25/drivers/usb/hid-input.c linux-2.4.26/drivers/usb/hid-input.c
@@ -444,8 +444,10 @@
while (list != &report_enum->report_list) {
report = (struct hid_report *) list;
- if (!report->maxfield)
+ if (!report->maxfield) {
+ list = list->next;
continue;
+ }
if (!hidinput) {
hidinput = kmalloc(sizeof(*hidinput), GFP_KERNEL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)