lkml.org 
[lkml]   [2005]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bug when using custom baud rates....
On Thu, Jan 20, 2005 at 04:22:56PM +0100, Rogier Wolff wrote:
> On Thu, Jan 20, 2005 at 07:08:58AM -0800, Greg KH wrote:
> > On Thu, Jan 20, 2005 at 03:54:22PM +0100, Rogier Wolff wrote:
> > > Hi,
> > >
> > > When using custom baud rates, the code does:
> > >
> > >
> > > if ((new_serial.baud_base != priv->baud_base) ||
> > > (new_serial.baud_base < 9600))
> > > return -EINVAL;
> > >
> > > Which translates to english as:
> > >
> > > If you changed the baud-base, OR the new one is
> > > invalid, return invalid.
> > >
> > > but it should be:
> > >
> > > If you changed the baud-base, OR the new one is
> > > invalid, return invalid.
> >
> > You mean AND, not OR here, right? :)
>
> :-) Sorry. Too noisy here.
>
> > > Patch attached.
> >
> > Have a 2.6 patch?
>
> Patch told me:
> patching file drivers/usb/serial/ftdi_sio.c
> Hunk #1 succeeded at 1137 (offset 156 lines).
>
> but the resulting patch is attached.

Applied, thanks.

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:09    [W:0.041 / U:1.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site