lkml.org 
[lkml]   [2010]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] usb/serial/ssu100: uninitialized variable
Date
From
> 
> GCC complains about the original code, because we're using an
> unintialized variable "flag". I think we should be setting flag based
> on the UART_LSR_BRK_ERROR_BITS but I'm not sure... I don't have this
> hardware. Probably passing TTY_NORMAL is better than the current code?
>

I took that function from ftdi_sio and stripped a lot out of it
while developing the driver. I see I missed adding back in the logic
dealing with setting flag correctly. I'll work up a patch to properly
deal with it.

--
Bill


\
 
 \ /
  Last update: 2010-08-13 15:07    [W:0.078 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site