linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix RocketPort driver.
@ 2006-01-26 19:07 Michal Ostrowski
  0 siblings, 0 replies; only message in thread
From: Michal Ostrowski @ 2006-01-26 19:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: mostrows

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>

---

 drivers/char/rocket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

b4a5d3ca98e99986c157c8aed12f958fe99288fb
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 
 		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);
 }
-- 
1.1.4.g0b63-dirty


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-26 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26 19:07 [PATCH] Fix RocketPort driver Michal Ostrowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).