aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-08-14 09:24:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-17 12:46:26 +0200
commit56609c0500514d35c7e35adca3bfe6f0061785bf (patch)
tree7c5aea54574fd22d252ae8e623f58c83cba9a6f1 /tools/perf/scripts/python
parentmxser: use guard()s (diff)
downloadlinux-56609c0500514d35c7e35adca3bfe6f0061785bf.tar.gz
linux-56609c0500514d35c7e35adca3bfe6f0061785bf.zip
serial: serial_core: use guard()s
Having all the new guards, use them in the serial_core code. This improves readability, makes error handling easier, and marks locked portions of code explicit. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250814072456.182853-9-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions