linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: viro@math.psu.edu
Cc: greg@kroah.com, linux-kernel@vger.kernel.org, vojtech@suse.cz
Subject: Re: 2.5.39 + evms 1.2.0 burn test
Date: Tue, 01 Oct 2002 20:53:50 -0700 (PDT)	[thread overview]
Message-ID: <20021001.205350.70210581.davem@redhat.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0210012349280.9782-100000@weyl.math.psu.edu>

   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);
        }
 }
? 

  reply	other threads:[~2002-10-02  3:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  3:04 2.5.39 + evms 1.2.0 burn test Matthias Andree
2002-10-02  3:25 ` Greg KH
2002-10-02  3:31   ` David S. Miller
2002-10-02  3:53     ` Alexander Viro
2002-10-02  3:53       ` David S. Miller [this message]
2002-10-02  4:42         ` Greg KH
2002-10-02  6:05           ` Vojtech Pavlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021001.205350.70210581.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).