summaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-06-15 10:48:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-24 18:08:33 +0300
commite8548296d27fc5944e4d98f830dc0cb71a9da5e5 (patch)
treeb001a03c32e1dd3e79b9acc36dd699e737f3b653 /include/linux/console_struct.h
parentf1bcbe141381a9f715f90d61003d6b47fe084d04 (diff)
downloadlinux-e8548296d27fc5944e4d98f830dc0cb71a9da5e5.tar.xz
vt: synchronize types and use min in csi_X
All the types are unsinged ints -- even the vpar passed to the function. So unify them and use min() to compute count instead of explicit comparison. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200615074910.19267-23-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions