提交 1989e20c 编写于 作者: M Michal Ostrowski 提交者: Linus Torvalds

[PATCH] Fix RocketPort driver

Call "ld->receive_buf" using the start of the character and flag buffers,
rather than the ends.
Signed-off-by: NMichal Ostrowski <mostrows@watson.ibm.com>
Acked-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 826eeb53
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册