summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/apbuart.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-07-30 13:55:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-31 21:22:06 +0300
commitf3af1b68fc96b14b93d1013ce7965723dc53ebbc (patch)
tree99802b547781d2caf80832a8062a36a0420d1ed3 /drivers/tty/serial/apbuart.h
parent7df5081cbf5e1c342acd30850a483ef504519937 (diff)
downloadlinux-f3af1b68fc96b14b93d1013ce7965723dc53ebbc.tar.xz
tty: keyboard, do not speculate on func_table index
It is very unlikely for processor to speculate on the func_table index. The index is uchar and func_table is of size 256. So the compiler would need to screw up and generate a really bad code. But to stay on the safe side, forbid speculation on this user passed index. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Jiri Kosina <jikos@kernel.org> Link: https://lore.kernel.org/r/20200730105546.24268-1-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/apbuart.h')
0 files changed, 0 insertions, 0 deletions