From: Mikael Pettersson <mikpe@csd.uu.se>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: alan@lxorguk.ukuu.org.uk, drivers@neukum.org,
marcelo.tosatti@cyclades.com, sailer@ife.ee.ethz.ch,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH][2.4.28-pre3] USB drivers gcc-3.4 fixes
Date: Mon, 13 Sep 2004 15:48:11 +0200 [thread overview]
Message-ID: <16709.42267.116818.668199@alkaid.it.uu.se> (raw)
In-Reply-To: <20040912204924.4a2cd872@lembas.zaitcev.lan>
Pete Zaitcev writes:
> How about this now?
>
> -- Pete
>
> diff -urp -X dontdiff linux-2.4.28-pre3/drivers/usb/audio.c linux-2.4.28-pre3-usb/drivers/usb/audio.c
> --- linux-2.4.28-pre3/drivers/usb/audio.c 2004-08-24 12:38:50.000000000 -0700
> +++ linux-2.4.28-pre3-usb/drivers/usb/audio.c 2004-09-12 17:49:35.000000000 -0700
> @@ -593,9 +593,10 @@ static int dmabuf_mmap(struct dmabuf *db
> return 0;
> }
>
> -static void dmabuf_copyin(struct dmabuf *db, const void *buffer, unsigned int size)
> +static void dmabuf_copyin(struct dmabuf *db, const void *_buffer, unsigned int size)
> {
> unsigned int pgrem, rem;
> + const char *buffer = _buffer;
and more on the same theme.
Yeah, that's much nicer. Thanks.
Marcelo, please consider this patch instead of the one I sent.
/Mikael
prev parent reply other threads:[~2004-09-13 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-12 11:29 Mikael Pettersson
2004-09-13 0:30 ` Pete Zaitcev
2004-09-13 10:54 ` Alan Cox
2004-09-13 3:49 ` Pete Zaitcev
2004-09-13 13:48 ` Mikael Pettersson [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=16709.42267.116818.668199@alkaid.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=drivers@neukum.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=sailer@ife.ee.ethz.ch \
--cc=zaitcev@redhat.com \
/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®