Files
linux/drivers/tty
Jiri Slaby 1e2414aeaf vt/consolemap: do font sum unsigned
[ Upstream commit 9777f8e60e ]

The constant 20 makes the font sum computation signed which can lead to
sign extensions and signed wraps. It's not much of a problem as we build
with -fno-strict-overflow. But if we ever decide not to, be ready, so
switch the constant to unsigned.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210105120239.28031-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 10:40:01 +09:00
..
2023-05-16 10:40:01 +09:00
2023-05-15 17:23:37 +09:00
2023-05-15 17:01:29 +09:00
2016-03-07 16:11:14 -08:00
2023-05-16 09:51:27 +09:00
2016-02-14 14:36:04 -08:00
2023-05-15 16:33:34 +09:00