summaryrefslogtreecommitdiff
path: root/rust/helpers/usb.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-11-19 11:01:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-21 18:30:40 +0100
commitdee7e10498c76490bb3bd5039c7c12d54585c26d (patch)
tree758e582e38be5d48d15c2d580022c172852193d1 /rust/helpers/usb.c
parentd139b31f86b9ca56ee2424e46f0c2b5d23f15eda (diff)
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>
Diffstat (limited to 'rust/helpers/usb.c')
0 files changed, 0 insertions, 0 deletions