From: Borislav Petkov <petkov@uni-muenster.de>
To: linux-kernel@vger.kernel.org
Cc: Greg KH <greg@kroah.com>
Subject: [PATCH 1/2] Re: 2.6.9-rc1-mm4, visor.c, Badness in usb_unlink_urb
Date: Fri, 10 Sep 2004 11:48:37 +0200 [thread overview]
Message-ID: <200409101148.37587.petkov@uni-muenster.de> (raw)
In-Reply-To: <20040910082601.GA32746@gamma.logic.tuwien.ac.at>
remove the deprecated call to usb_unlink_urb.
Signed-off-by: Borislav Petkov <petkov@uni-muenster.de>
--- linux-2.6.9-rc1-mm/drivers/usb/serial/visor.c.orig 2004-09-10
11:35:11.000000000 +0200
+++ linux-2.6.9-rc1-mm/drivers/usb/serial/visor.c 2004-09-10
11:35:55.000000000 +0200
@@ -446,9 +446,9 @@ static void visor_close (struct usb_seri
dbg("%s - port %d", __FUNCTION__, port->number);
/* shutdown our urbs */
- usb_unlink_urb (port->read_urb);
+ usb_kill_urb (port->read_urb);
if (port->interrupt_in_urb)
- usb_unlink_urb (port->interrupt_in_urb);
+ usb_kill_urb (port->interrupt_in_urb);
/* Try to send shutdown message, if the device is gone, this will just fail.
*/
transfer_buffer = kmalloc (0x12, GFP_KERNEL);
next prev parent reply other threads:[~2004-09-10 9:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-10 8:26 Norbert Preining
2004-09-10 9:45 ` [PATCH 0/2] " Borislav Petkov
2004-09-10 9:48 ` Borislav Petkov [this message]
2004-09-10 14:01 ` [PATCH 1/2] " Greg KH
2004-09-10 18:24 ` [PATCH] " Borislav Petkov
2004-09-14 7:47 ` Greg KH
2004-09-10 9:50 ` [PATCH 2/2] Re: 2.6.9-rc1-mm4, sub-serial.c, " Borislav Petkov
2004-09-10 14:30 ` 2.6.9-rc1-mm4, visor.c, " Greg KH
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=200409101148.37587.petkov@uni-muenster.de \
--to=petkov@uni-muenster.de \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®