From: Michal Ostrowski Date: Fri, 3 Feb 2006 11:03:37 +0000 (-0800) Subject: [PATCH] Fix RocketPort driver X-Git-Tag: v2.6.16-rc3~299 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1989e20cc1e7491232795f9dac9b745e4329dfd8;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] Fix RocketPort driver Call "ld->receive_buf" using the start of the character and flag buffers, rather than the ends. Signed-off-by: Michal Ostrowski Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 0949dce..7edc6a4 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c @@ -433,7 +433,7 @@ static void rp_do_receive(struct r_port *info, count += ToRecv; } /* Push the data up to the tty layer */ - ld->receive_buf(tty, cbuf, fbuf, count); + ld->receive_buf(tty, chead, fhead, count); done: tty_ldisc_deref(ld); }