From: wfp5p@viridian.itc.virginia.edu (Bill Pemberton)
To: error27@gmail.com (Dan Carpenter)
Cc: gregkh@suse.de (Greg Kroah-Hartman),
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [patch] usb/serial/ssu100: uninitialized variable
Date: Fri, 13 Aug 2010 08:58:24 -0400 (EDT) [thread overview]
Message-ID: <20100813125824.87BC52389B@viridian.itc.virginia.edu> (raw)
In-Reply-To: <20100813123811.GA31262@bicker>
>
> 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
prev parent reply other threads:[~2010-08-13 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 12:38 Dan Carpenter
2010-08-13 12:58 ` Bill Pemberton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100813125824.87BC52389B@viridian.itc.virginia.edu \
--to=wfp5p@viridian.itc.virginia.edu \
--cc=error27@gmail.com \
--cc=gregkh@suse.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®