diff options
author | Dmitry Torokhov <[email protected]> | 2024-09-04 21:17:14 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-10-04 00:58:16 -0700 |
commit | c91ae81e028f9aa363a38ef46ec5a6ca11a10f10 (patch) | |
tree | 442eac71cee1370588449037e60d5f648da41d92 /scripts/gdb/linux/utils.py | |
parent | 69a2229b05046eb42258b45df1f43248de8a3472 (diff) |
Input: elo - use guard notation when pausing serio port
Using guard notation makes the code more compact and error handling
more robust by ensuring that serio ports are resumed in all code paths
when control leaves critical section.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions