diff options
| author | 2022-06-07 12:49:13 +0200 | |
|---|---|---|
| committer | 2022-06-10 13:37:01 +0200 | |
| commit | db8f597a47127d0554f9c059a6da35f3ff34e773 (patch) | |
| tree | ae710f00caf5eb1d814d97969e1389bbc16046c7 /tools/perf/scripts/python/bin | |
| parent | tty/vt: consolemap: rename and document struct uni_pagedir (diff) | |
tty/vt: consolemap: define UNI_* macros for constants
The code uses constants for sizes of dictionary substructures on many
places. Define 3 macros and use them in the code, so that loop bounds,
local variables and the dictionary always match. (And the loop bounds
are obvious now too.)
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
