tty: sysrq: rename and re-type i in sysrq_handle_loglevel()
authorJiri Slaby <jirislaby@kernel.org>
Wed, 12 Jul 2023 08:18:02 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jul 2023 17:20:00 +0000 (19:20 +0200)
commit00ef7eff2f2fcb28a3a4b5697ab6ce242e041091
tree9ecf974d4d3964474efc37da3b59521f261bf90d
parent5bedcf70c6be530c6c4a7f78a820dd19566996e0
tty: sysrq: rename and re-type i in sysrq_handle_loglevel()

'i' is a too generic name for something which carries a 'loglevel'. Name
it as such and make it 'u8', the same as key will become in the next
patches.

Note that we are not stripping any high bits away, 'key' is given only
8bit values.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230712081811.29004-2-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/sysrq.c