lkml.org 
[lkml]   [2004]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.4.28-pre3] USB drivers gcc-3.4 fixes
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site