summaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-11-29 16:02:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 08:44:07 +0100
commitbb8772a958f79aab24c0e199d0565f395cf5c629 (patch)
tree46e7d2f0b9f2196b96db9cee3b8cb7b09e922d88 /mm/hugetlb.c
parentd364d387a0f2e905b9272ee6835a95ea2862caff (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 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions