Skip to content

Commit dee7e10

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
tty: vt/keyboard: use guard()s
Use guards in the vt/keyboard code. This improves readability, makes error handling easier, and marks locked portions of code explicit. All that while being sure the lock is unlocked. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://patch.msgid.link/20251119100140.830761-9-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d139b31 commit dee7e10

1 file changed

Lines changed: 74 additions & 136 deletions

File tree

0 commit comments

Comments
 (0)