diff options
author | Dmitry Torokhov <[email protected]> | 2024-09-04 21:17:25 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-10-04 01:04:14 -0700 |
commit | 5b53a9d40c4f83b44de8da06af9a9c9b3fb14988 (patch) | |
tree | 56bb72dab376f5416f532fd27f893199f24a439e /scripts/gdb/linux/timerlist.py | |
parent | 924c5eeb17490136d9ec688b0926bbae27eb0a1f (diff) |
Input: serio_raw - use guard notation for locks and other resources
Use guard notation when acquiring mutexes and spinlocks, and when
pausing and resuming serio port. Such guard notation makes the code
more compact and error handling more robust by ensuring that locks
are released 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/timerlist.py')
0 files changed, 0 insertions, 0 deletions