diff --git a/[refs] b/[refs] index c4ac0dfffdbe..9f1fd6587f0c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7ac3c93e5dd74486ca4f8f0b02ae55182658d2e5 +refs/heads/master: d83114e9754cf5deb3424217ff2f10cace1428e3 diff --git a/trunk/drivers/tty/hvc/hvc_console.c b/trunk/drivers/tty/hvc/hvc_console.c index 7f80f15681cd..4a652999380f 100644 --- a/trunk/drivers/tty/hvc/hvc_console.c +++ b/trunk/drivers/tty/hvc/hvc_console.c @@ -558,7 +558,7 @@ static int hvc_write_room(struct tty_struct *tty) struct hvc_struct *hp = tty->driver_data; if (!hp) - return -1; + return 0; return hp->outbuf_size - hp->n_outbuf; }