git.samba.org
/
sfrench
/
cifs-2.6.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_room return uint
[sfrench/cifs-2.6.git]
/
drivers
/
tty
/
pty.c
diff --git
a/drivers/tty/pty.c
b/drivers/tty/pty.c
index 3e7b5c811f9b335e984b53dc31a17183361aed03..eb8556b19592c12492a6210b83821191f0ff9278 100644
(file)
--- a/
drivers/tty/pty.c
+++ b/
drivers/tty/pty.c
@@
-136,7
+136,7
@@
static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c)
* the other device.
*/
-static int pty_write_room(struct tty_struct *tty)
+static
unsigned
int pty_write_room(struct tty_struct *tty)
{
if (tty->flow.stopped)
return 0;