projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826eeb5
)
[PATCH] Fix RocketPort driver
author
Michal Ostrowski
<mostrows@watson.ibm.com>
Fri, 3 Feb 2006 11:03:37 +0000
(
03:03
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:31:59 +0000
(08:31 -0800)
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>
drivers/char/rocket.c
patch
|
blob
|
history
diff --git
a/drivers/char/rocket.c
b/drivers/char/rocket.c
index 0949dcef06976d8f78a250a0a725f99ce06f8f11..7edc6a4dbdc43f371df3064f68930284889a66a0 100644
(file)
--- a/
drivers/char/rocket.c
+++ b/
drivers/char/rocket.c
@@
-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, c
buf, fbuf
, count);
+ ld->receive_buf(tty, c
head, fhead
, count);
done:
tty_ldisc_deref(ld);
}