diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-01-05 13:02:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-07 12:35:49 +0100 |
commit | aac502009fef30db809e97ee186fb0e927a2c28e (patch) | |
tree | 508a18a16c95fc623af25bf2fd221c48077e0073 /drivers/net/wireless/ti/wlcore/main.c | |
parent | 4c0ea159dd340cec5f0ade8762a242f9d0890b2b (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/main.c')
0 files changed, 0 insertions, 0 deletions