diff options
author | 2021-01-05 13:02:34 +0100 | |
---|---|---|
committer | 2021-01-07 16:17:31 +0100 | |
commit | 9777f8e60e718f7b022a94f2524f967d8def1931 (patch) | |
tree | f3d8d6401c297cbd394ef0402a2632286710a070 /drivers/tty/serial/efm32-uart.c | |
parent | 8250_tegra: clean up tegra_uart_handle_break (diff) | |
download | wireguard-linux-9777f8e60e718f7b022a94f2524f967d8def1931.tar.xz wireguard-linux-9777f8e60e718f7b022a94f2524f967d8def1931.zip |
vt/consolemap: do font sum unsigned
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>
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
0 files changed, 0 insertions, 0 deletions