Files
linux/drivers/tty
Jiri Slaby 48549db10d 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>
2021-03-07 12:20:44 +01:00
..
2021-03-07 12:20:44 +01:00
2018-10-13 00:50:53 -04:00
2019-04-16 15:21:34 +02:00
2018-10-13 00:50:32 -04:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2019-10-04 15:14:20 +02:00
2017-11-08 13:08:12 +01:00
2019-09-04 12:43:44 +02:00
2020-04-29 16:33:17 +02:00
2019-02-12 08:51:33 +01:00
2019-05-14 19:52:51 -07:00
2020-12-11 13:23:28 +01:00
2020-12-11 13:23:28 +01:00
2019-04-16 15:21:34 +02:00