android_kernel_xiaomi_sm7250/drivers/tty/vt
Jiri Slaby 9bf5f2a8f7 vt/consolemap: do font sum unsigned
[ Upstream commit 9777f8e60e718f7b022a94f2524f967d8def1931 ]

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:18:57 +01:00
..
.gitignore
consolemap.c vt/consolemap: do font sum unsigned 2021-03-07 12:18:57 +01:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c vt: keyboard, extend func_buf_lock to readers 2020-11-05 11:08:50 +01:00
Makefile
selection.c
vc_screen.c
vt_ioctl.c tty: make FONTX ioctl use the tty pointer they were actually passed 2020-11-05 11:08:54 +01:00
vt.c vt: Disable KD_FONT_OP_COPY 2020-11-10 12:36:00 +01:00