summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-27 22:50:18 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-11-05 14:17:32 -0800
commit6b6b40ff05ab43b603abd7ae1821892307421d49 (patch)
treeb8490439d409ba693c14ee87a5f44101d44cd03d /tools/perf/builtin-report.c
parent229ba714e52f7f29f41c1aa2e9f49feef3629322 (diff)
downloadlwn-6b6b40ff05ab43b603abd7ae1821892307421d49.tar.gz
lwn-6b6b40ff05ab43b603abd7ae1821892307421d49.zip
Input: maple_keyb - use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released in all code paths when control leaves critical section. Link: https://lore.kernel.org/r/Zx8mGiWOw1Av28TX@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions