]> git.baikalelectronics.ru Git - kernel.git/commit
tty/vt: consolemap: saner variable names in conv_uni_to_pc()
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Jun 2022 10:49:31 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:37:02 +0000 (13:37 +0200)
commit272c7333cc4db4df53be88fe3e815ad32e410be3
treeeff41da316766cb401b4d0ab9c4e2f909acb6de5
parentd75c4930b9bd0dc67d1c69b2fd7bdd7b913770c3
tty/vt: consolemap: saner variable names in conv_uni_to_pc()

The function uses too vague variable names like i, j, k for iterators, p,
q, p1, p2 for pointers etc.

Rename all these, so that it is clear what is going on:
- dict: for dictionaries.
- d, r, g: for dir, row, glyph iterators -- these are unsigned now.
- dir, row: for directory and row pointers.
- glyph: for the glyph.
- and so on...

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-21-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/consolemap.c