diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-09-09 15:39:16 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 18:04:31 +0200 |
commit | 7f2bf7840b74a160f908db83bc8829f8de10629b (patch) | |
tree | 2a34c7484d8288d850e3343244f46a570bf851ce /fs/isofs/Makefile | |
parent | 68b2fc714fb1e08385f9c810d84f06affd007350 (diff) | |
download | linux-7f2bf7840b74a160f908db83bc8829f8de10629b.tar.bz2 |
tty: hvc: hvc_write() fix break condition
Commit 550ddadcc758 ("tty: hvc: hvc_write() may sleep") broke the
termination condition in case the driver stops accepting characters.
This can result in unnecessary polling of the busy driver.
Restore it by testing the hvc_push return code.
Tested-by: Matteo Croce <mcroce@redhat.com>
Tested-by: Jason Gunthorpe <jgg@mellanox.com>
Tested-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/isofs/Makefile')
0 files changed, 0 insertions, 0 deletions