? sed 's/usb_kbd_free_buffers/usb_kbd_free_mem/' <usbkbd.c >usbkbd_fixed.c
? diff -u usbkbd.c usbkbd_fixed.c
--- usbkbd.c Tue Oct 1 14:49:22 2002
+++ usbkbd_fixed.c Tue Oct 1 20:56:21 2002
@@ -280,7 +280,7 @@
if (!(buf = kmalloc(63, GFP_KERNEL))) {
usb_free_urb(kbd->irq);
- usb_kbd_free_buffers(dev, kbd);
+ usb_kbd_free_mem(dev, kbd);
kfree(kbd);
return -ENOMEM;
}
@@ -321,7 +321,7 @@
if (kbd) {
usb_unlink_urb(kbd->irq);
input_unregister_device(&kbd->dev);
- usb_kbd_free_buffers(interface_to_usbdev(intf), kbd);
+ usb_kbd_free_mem(interface_to_usbdev(intf), kbd);
kfree(kbd);
}
}
?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/