aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:49:37 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:38 -0700
commitc03dfa7fdf7987d957acfc332d84720da6ed947a (patch)
tree27f628940d5ac1d700d784cc686e6bdfa8003756 /tools/perf/scripts/python
parent868d163aec12bf48fccbf15fd9cf06a55b744317 (diff)
Input: sparcspkr - use guard notation when acquiring spinlock
Using 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. Reviewed-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions