summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-11-19 11:01:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-21 18:30:40 +0100
commit8c03bfcf6b2bbb1b936b6a5dec3bd7922460cb9d (patch)
tree57848233982ff70a635f9202d4d64e61f0a46bf2 /tools/lib/python/kdoc/parse_data_structs.py
parent3ae99599bf47eb99f6090c9502e32993fb331e0e (diff)
tty: n_hdlc: use guard()s
Use guards in the n_hdlc 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-5-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions