summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/8250_pci.c
diff options
context:
space:
mode:
authorDaniel Starke <daniel.starke@siemens.com>2022-07-07 14:32:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-08 16:14:53 +0300
commit7e5b4322cde067e1d0f1bf8f490e93f664a7c843 (patch)
treededd8fcee6a8431c32f000862162e37bc1cf73a7 /drivers/tty/serial/8250/8250_pci.c
parent59ff0680ecbfec742b1e0381e7cc46b41eb06647 (diff)
downloadlinux-7e5b4322cde067e1d0f1bf8f490e93f664a7c843.tar.xz
tty: n_gsm: fix missing corner cases in gsmld_poll()
gsmld_poll() currently fails to handle the following corner cases correctly: - remote party closed the associated tty Add the missing checks and map those to EPOLLHUP. Reorder the checks to group them by their reaction. Fixes: e1eaea46bb40 ("tty: n_gsm line discipline") Signed-off-by: Daniel Starke <daniel.starke@siemens.com> Link: https://lore.kernel.org/r/20220707113223.3685-4-daniel.starke@siemens.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
0 files changed, 0 insertions, 0 deletions