Fix RocketPort driver.
PATCH 1/1 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 <[email protected]>
---
drivers/char/rocket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
b4a5d3ca98e99986c157c8aed12f958fe99288fb
drivers/char/rocket.c +1 -1
@@ -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); }
Signature · 1 line
1.1.4.g0b63-dirty