1 --- linux-2.4.19/drivers/usb/hid-input.c.org Sun Nov 17 09:16:51 2002
2 +++ linux-2.4.19/drivers/usb/hid-input.c Sun Nov 17 09:17:28 2002
4 set_bit(usage->type, input->evbit);
6 while (usage->code <= max && test_and_set_bit(usage->code, bit)) {
7 - usage->code = find_next_zero_bit(bit, usage->code, max + 1);
8 + usage->code = find_next_zero_bit(bit, max + 1, usage->code);
11 if (usage->code > max) return;