Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <mostrows@watson.ibm.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Michal Ostrowski and committed by
Linus Torvalds
1989e20c 826eeb53

+1 -1
+1 -1
drivers/char/rocket.c
··· 433 433 count += ToRecv; 434 434 } 435 435 /* Push the data up to the tty layer */ 436 - ld->receive_buf(tty, cbuf, fbuf, count); 436 + ld->receive_buf(tty, chead, fhead, count); 437 437 done: 438 438 tty_ldisc_deref(ld); 439 439 }