aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 21:17:15 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 00:58:16 -0700
commit44f920069911437dbce84084de02b5cba4ba94f7 (patch)
tree431e63ae21f980af05b0f7cd64085d037fbd8ecf /tools/perf/scripts/python
parentInput: elo - use guard notation when pausing serio port (diff)
downloadlinux-44f920069911437dbce84084de02b5cba4ba94f7.tar.gz
linux-44f920069911437dbce84084de02b5cba4ba94f7.zip
Input: gscps2 - 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. Link: https://lore.kernel.org/r/20240905041732.2034348-11-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions