lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 2.6.9-mm1: usb/serial/console.c compile error
On Fri, Oct 22, 2004 at 03:43:05PM +0200, Adrian Bunk wrote:
>
> The following compile error seems to come from Linus' tree:
>
>
> <-- snip -->
>
> ...
> CC drivers/usb/serial/bus.o
> CC drivers/usb/serial/console.o
> drivers/usb/serial/console.c: In function `usb_console_write':
> drivers/usb/serial/console.c:221: warning: passing arg 3 of pointer to function makes integer from pointer without a cast
> drivers/usb/serial/console.c:221: error: too many arguments to function
> drivers/usb/serial/console.c:223: warning: passing arg 3 of `usb_serial_generic_write' makes integer from pointer without a cast
> drivers/usb/serial/console.c:223: error: too many arguments to function `usb_serial_generic_write'
> make[3]: *** [drivers/usb/serial/console.o] Error 1
>
> <-- snip -->
>
>
> This was caused by the changed "write" in usb_serial_device_type.
>
>
> Is the following patch correct?

Yes it is, thanks. I've applied it.

greg k-h
-
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:07    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site