From: Karsten Keil <kkeil@suse.de>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Karsten Keil <kkeil@suse.de>,
linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH 2/2] Remove URB_ASYNC_UNLINK from last patch
Date: Mon, 19 Sep 2005 23:28:36 +0200 [thread overview]
Message-ID: <20050919212836.GA24376@pingi3.kke.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0509191002530.9106@g5.osdl.org>
On Mon, Sep 19, 2005 at 10:12:38AM -0700, Linus Torvalds wrote:
>
>
> On Mon, 19 Sep 2005, Karsten Keil wrote:
> >
> > Is here a way in git to "merge" these two patches ?
>
> Just do "git diff a..b" to generate the diff over both of them (where "a"
> is the commit before the two, and "b" is the last one, of course).
Thank you.
>
> Btw, the patch doesn't apply any more. I already applied your earlier one.
>
You should only need the second part then, which removes the not longer
needed URB_ASYNC_UNLINK settings, this is this one
Subject: [PATCH 2/2] Remove URB_ASYNC_UNLINK from last patch
Sorry, tested the wrong HEAD for compile.
- usb_unlink_urb is always async now, so URB_ASYNC_UNLINK was removed from
core USB and we must do as well.
Signed-off-by: Karsten Keil <kkeil@suse.de>
---
drivers/isdn/hisax/st5481_b.c | 2 --
drivers/isdn/hisax/st5481_usb.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
7c3b2c6e0875808314829f11d8a317af2b1b549c
diff --git a/drivers/isdn/hisax/st5481_b.c b/drivers/isdn/hisax/st5481_b.c
--- a/drivers/isdn/hisax/st5481_b.c
+++ b/drivers/isdn/hisax/st5481_b.c
@@ -209,9 +209,7 @@ static void st5481B_mode(struct st5481_b
bcs->mode = mode;
// Cancel all USB transfers on this B channel
- b_out->urb[0]->transfer_flags |= URB_ASYNC_UNLINK;
usb_unlink_urb(b_out->urb[0]);
- b_out->urb[1]->transfer_flags |= URB_ASYNC_UNLINK;
usb_unlink_urb(b_out->urb[1]);
b_out->busy = 0;
diff --git a/drivers/isdn/hisax/st5481_usb.c b/drivers/isdn/hisax/st5481_usb.c
--- a/drivers/isdn/hisax/st5481_usb.c
+++ b/drivers/isdn/hisax/st5481_usb.c
@@ -645,9 +645,7 @@ void st5481_in_mode(struct st5481_in *in
in->mode = mode;
- in->urb[0]->transfer_flags |= URB_ASYNC_UNLINK;
usb_unlink_urb(in->urb[0]);
- in->urb[1]->transfer_flags |= URB_ASYNC_UNLINK;
usb_unlink_urb(in->urb[1]);
if (in->mode != L1_MODE_NULL) {
--
Karsten Keil
SuSE Labs
ISDN development
prev parent reply other threads:[~2005-09-19 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-19 14:10 Karsten Keil
2005-09-19 14:24 ` Karsten Keil
2005-09-19 17:12 ` Linus Torvalds
2005-09-19 21:28 ` Karsten Keil [this message]
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=20050919212836.GA24376@pingi3.kke.suse.de \
--to=kkeil@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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®