projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2939840
)
vt: keyboard, use bool for rep
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 29 Oct 2020 11:32:14 +0000
(12:32 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 4 Nov 2020 15:43:38 +0000
(16:43 +0100)
rep is used as a bool in the code, so declare it as such.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link:
https://lore.kernel.org/r/20201029113222.32640-9-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c
patch
|
blob
|
history
diff --git
a/drivers/tty/vt/keyboard.c
b/drivers/tty/vt/keyboard.c
index c4791f33c145484f1e122ca90c722f6e05c4fda2..e47a1c6bfa447ae4f4480b596a8bf87f36dce206 100644
(file)
--- a/
drivers/tty/vt/keyboard.c
+++ b/
drivers/tty/vt/keyboard.c
@@
-144,7
+144,7
@@
static bool npadch_active;
static unsigned int npadch_value;
static unsigned int diacr;
-static
char rep;
/* flag telling character repeat */
+static
bool rep;
/* flag telling character repeat */
static int shift_state = 0;