summaryrefslogtreecommitdiff
path: root/rust/helpers/usb.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-11-19 11:01:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-21 18:30:40 +0100
commit1c7736dc68d7599e12e6b20c848dfbcbe0d04cdb (patch)
tree9a994ca907cb42efcbc392f43b54470c98a16014 /rust/helpers/usb.c
parent8c03bfcf6b2bbb1b936b6a5dec3bd7922460cb9d (diff)
tty: moxa: use guard()s
Use guards in the moxa 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-6-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