]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: ucs.c: fix misappropriate in_range() usage
authorNicolas Pitre <npitre@baylibre.com>
Wed, 7 May 2025 14:13:16 +0000 (10:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:39:45 +0000 (13:39 +0200)
commita16014c0db3aed66379bfd7b042e251478b02868
tree2d8b282c061272b3ceafb7c98c2f4bc76a207065
parent063a896456c339fc181cbd04a08ce409b7866f83
vt: ucs.c: fix misappropriate in_range() usage

The in_range() helper accepts a start and a length, not a start and
an end.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250507141535.40655-2-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/ucs.c