Re: [PATCH] drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN

2015-05-10 Thread Greg Kroah-Hartman
On Tue, May 05, 2015 at 01:11:28PM -0400, Chris Metcalf wrote: > We were returning zero if no bytes could be written to the Tilera > hypervisor console device, but this causes the output to be truncated. > By returning -EAGAIN the tty hvc driver will come back and try again, > which gives the seman

[PATCH] drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN

2015-05-05 Thread Chris Metcalf
We were returning zero if no bytes could be written to the Tilera hypervisor console device, but this causes the output to be truncated. By returning -EAGAIN the tty hvc driver will come back and try again, which gives the semantics we want, and avoids dropping console output. Signed-off-by: Chris