From: Greg KH <greg@kroah.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, perex@suse.cz
Subject: Re: ALSA update
Date: Wed, 18 Dec 2002 10:21:35 -0800 [thread overview]
Message-ID: <20021218182135.GD31197@kroah.com> (raw)
In-Reply-To: <200212181807.gBII7Wn28845@hera.kernel.org>
> ChangeSet 1.885.1.5, 2002/12/18 10:13:22+01:00, perex@suse.cz
<snip>
> diff -Nru a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
> --- a/sound/usb/usbaudio.c Wed Dec 18 10:07:34 2002
> +++ b/sound/usb/usbaudio.c Wed Dec 18 10:07:34 2002
> @@ -526,7 +526,11 @@
> /*
> * complete callback from data urb
> */
> +#ifndef OLD_USB
> static void snd_complete_urb(struct urb *urb, struct pt_regs *regs)
> +#else
> +static void snd_complete_urb(struct urb *urb)
> +#endif
> {
> snd_urb_ctx_t *ctx = (snd_urb_ctx_t *)urb->context;
> snd_usb_substream_t *subs = ctx->subs;
> @@ -551,7 +555,11 @@
> /*
> * complete callback from sync urb
> */
> +#ifndef OLD_USB
> static void snd_complete_sync_urb(struct urb *urb, struct pt_regs *regs)
> +#else
> +static void snd_complete_sync_urb(struct urb *urb)
> +#endif
> {
> snd_urb_ctx_t *ctx = (snd_urb_ctx_t *)urb->context;
> snd_usb_substream_t *subs = ctx->subs;
> @@ -583,6 +591,9 @@
Ick, you're kidding me, right? Why do this? Are you trying to keep a
common code base with 2.4 and 2.5 USB drivers? If so, I don't recommend
it, as the code will be sprinkled with these ifdef's...
thanks,
greg k-h
next parent reply other threads:[~2002-12-18 18:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200212181807.gBII7Wn28845@hera.kernel.org>
2002-12-18 18:21 ` Greg KH [this message]
2002-12-18 19:17 ` ALSA update Jaroslav Kysela
2002-12-18 19:27 ` Greg KH
2002-12-19 12:17 ` Takashi Iwai
2002-12-18 19:51 ` Ruslan U. Zakirov
2002-12-19 12:07 ` Takashi Iwai
2002-12-19 12:18 ` Jaroslav Kysela
2002-12-20 0:27 ` Greg KH
2002-12-19 23:04 ` Bill Davidsen
2002-11-10 20:44 Jaroslav Kysela
[not found] <Pine.NEB.4.44.0210151048240.20607-100000@mimas.fachschaften.tu-muenchen.de>
2002-10-15 9:55 ` Jaroslav Kysela
-- strict thread matches above, loose matches on Subject: below --
2002-10-14 19:45 Jaroslav Kysela
2002-10-14 19:58 ` David S. Miller
2002-10-14 22:43 ` Jaroslav Kysela
2002-10-15 17:08 ` David S. Miller
2002-10-15 19:45 ` Jaroslav Kysela
2002-10-15 19:45 ` David S. Miller
2002-10-16 16:20 ` Takashi Iwai
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=20021218182135.GD31197@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.