summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/8250_port.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-07-07 11:10:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 15:57:28 +0200
commite679004dec37566f658a255157d3aed9d762a2b7 (patch)
treee652a4aeddc2b906bdaf4703d508dac7c72e6b0d /drivers/tty/serial/8250/8250_port.c
parent5b869a06a2790a2d1f3ee965e8f38246bfc32d24 (diff)
tty: hvc: replace BUG_ON() with negative return value
Xen frontends shouldn't BUG() in case of illegal data received from their backends. So replace the BUG_ON()s when reading illegal data from the ring page with negative return values. Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20210707091045.460-1-jgross@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_port.c')
0 files changed, 0 insertions, 0 deletions