From: Michal Ostrowski 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 --- drivers/char/rocket.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/rocket.c~fix-rocketport-driver drivers/char/rocket.c --- 25/drivers/char/rocket.c~fix-rocketport-driver Thu Feb 2 15:11:10 2006 +++ 25-akpm/drivers/char/rocket.c Thu Feb 2 15:11:10 2006 @@ -433,7 +433,7 @@ static void rp_do_receive(struct r_port 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); } _