Re: 2.5.39 + evms 1.2.0 burn test

David S. Miller (davem@redhat.com)
Tue, 01 Oct 2002 20:53:50 -0700 (PDT)


From: Alexander Viro <viro@math.psu.edu>
Date: Tue, 1 Oct 2002 23:53:40 -0400 (EDT)

On Tue, 1 Oct 2002, David S. Miller wrote:

> sed 's/usb_kbd_free_buffers/usb_kbd_free_mem/' <usbkbd.c >usbkbd_fixed.c

's/usb_kbd_free_buffers/usb_kbd_free_mem/g', surely?

My version works here. :-)

? 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/