Re: [PATCH][2.4.28-pre3] USB drivers gcc-3.4 fixes

From: Mikael Pettersson
Date: Mon Sep 13 2004 - 08:50:34 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/