projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/master' of ../linux-2.6 into drm-next
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
char
/
selection.c
diff --git
a/drivers/char/selection.c
b/drivers/char/selection.c
index cb8ca5698963017d03ff6ed625ec41f0d0a6c062..f97b9e8480645f85c34efb7bcbb41b3474e34d6c 100644
(file)
--- a/
drivers/char/selection.c
+++ b/
drivers/char/selection.c
@@
-327,7
+327,7
@@
int paste_selection(struct tty_struct *tty)
}
count = sel_buffer_lth - pasted;
count = min(count, tty->receive_room);
- tty->ldisc
.
ops->receive_buf(tty, sel_buffer + pasted,
+ tty->ldisc
->
ops->receive_buf(tty, sel_buffer + pasted,
NULL, count);
pasted += count;
}