diff options
| author | Juergen Gross <jgross@suse.com> | 2021-11-29 10:45:11 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-01 09:27:44 +0100 |
| commit | bdef6fc5e725663f471ec1ff4c0350dae7b794c7 (patch) | |
| tree | 0b128d402b55d3d56730cf13643e462f53c8b59b /include/linux/sched | |
| parent | e4e01b0e4b7fca40586639647f83eaa21a0a8203 (diff) | |
tty: hvc: replace BUG_ON() with negative return value
commit e679004dec37566f658a255157d3aed9d762a2b7 upstream.
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 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions
