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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to