Re: [PATCH v2 12/20] n_tty: Factor standard per-char i/o into separatefn

From: Peter Hurley
Date: Tue Jul 23 2013 - 20:49:18 EST


On 07/23/2013 08:12 PM, Greg Kroah-Hartman wrote:
On Sat, Jun 15, 2013 at 10:21:28AM -0400, Peter Hurley wrote:
Simplify __receive_buf() into a dispatch function; perform per-char
processing for all other modes not already handled.

Signed-off-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
---
drivers/tty/n_tty.c | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)

This patch causes the warning:
drivers/tty/n_tty.c: In function ân_tty_receive_buf_standardâ:
drivers/tty/n_tty.c:1575:21: warning: unused variable âldataâ [-Wunused-variable]
to happen.

Care to fix it up, and refresh the rest of the series (something fails
later on), and resend these so that I can apply them?

Sorry about that. Working on it right now.

I think these errors came out of a reordering rebase I did by hand
a while back. Obviously I need to add per-patch build testing to my
workflow. Time to get an SSD :)

Regards,
Peter Hurley
--
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/