summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:49:37 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:38 +0300
commitc03dfa7fdf7987d957acfc332d84720da6ed947a (patch)
tree27f628940d5ac1d700d784cc686e6bdfa8003756 /tools/perf/scripts
parent868d163aec12bf48fccbf15fd9cf06a55b744317 (diff)
downloadlinux-c03dfa7fdf7987d957acfc332d84720da6ed947a.tar.xz
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 <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044938.1049843-1-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions