commit | b4287df82991ca608f44d7ac12ad9b3bc39d5baa | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@ezchip.com> | Mon May 04 17:25:12 2015 -0400 |
committer | Chris Metcalf <cmetcalf@ezchip.com> | Mon May 11 11:22:20 2015 -0400 |
tree | ea4d20b3e8971dd6526b366cbfa2fb1770bfd277 | |
parent | 5bf6c07a1843813d0065feaaecba622d49148d7e [diff] |
drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN 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. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>