projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: make tty_operations::write()'s count size_t
[linux-block.git]
/
drivers
/
tty
/
pty.c
diff --git
a/drivers/tty/pty.c
b/drivers/tty/pty.c
index 335f5744f320c0bf17942b0a23065257459601ab..df08f13052ff4b53f19f28803ea9baedfb64c718 100644
(file)
--- a/
drivers/tty/pty.c
+++ b/
drivers/tty/pty.c
@@
-108,7
+108,7
@@
static void pty_unthrottle(struct tty_struct *tty)
* the other side of the pty/tty pair.
*/
-static
int pty_write(struct tty_struct *tty, const u8 *buf, in
t c)
+static
ssize_t pty_write(struct tty_struct *tty, const u8 *buf, size_
t c)
{
struct tty_struct *to = tty->link;