Re: WARNINGs in usb-serial.c

From: Greg KH
Date: Thu Sep 03 2009 - 17:46:55 EST


On Thu, Sep 03, 2009 at 11:24:01PM +0200, Rafael J. Wysocki wrote:
> On Thursday 03 September 2009, Greg KH wrote:
> > On Thu, Sep 03, 2009 at 04:13:34PM +0200, Miklos Szeredi wrote:
> > > I get the following warnings in 2.6.31-rc. A lot of them:
> > >
> > > WARNING: at drivers/usb/serial/usb-serial.c:414 serial_write_room+0x59/0x6e [usbserial]()
> > > WARNING: at drivers/usb/serial/usb-serial.c:401 serial_write+0x77/0x9d [usbserial]()
> > >
> > > This is a huawei-3565 modem.
> > >
> > > The messages don't seem to hurt, but there's lot of trouble with this
> > > gadget. Sometimes it just doesn't work after a while and a reboot is
> > > needed. Sometimes it hangs the kernel after suspend, etc. Not sure
> > > if this is related to the warnings...
> >
> > {sigh}
> >
> > The tty layer changes are being a pain here :(
> >
> > Alan Stern posted a set of patches to the linux-usb list to hopefully
> > address stuff like this, is there any way you could test them out to see
> > if they help or not?
>
> Do you have a pointer to the patches, please? I need it for the regression list.

They were posted on the linux-usb mailing list, I'm still fighting my
patch queue to get them into my tree soon.

thanks,

greg k-h
--
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/