aboutsummaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-06-07 12:49:11 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:37:00 +0200
commit17945d317a523212831049147d7d9dd0fff9969f (patch)
treeca6dafd2c2037bfb1b425eb18702df33069daeaa /include/linux/console_struct.h
parent5c4d7b049dce57816171ba4374cecfddd6e6faed (diff)
tty/vt: consolemap: use ARRAY_SIZE()
The code uses constants as bounds in loops. Use ARRAY_SIZE() with appropriate parameters instead. This makes the loop bounds obvious. Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions