summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:42:29 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:36 +0300
commite5aee2d894fdff91c61d589c683c4a948e6d90b5 (patch)
treece19ca5d40379123a71a80ca588539db8301c7d8 /tools/perf/scripts/python
parentcf3f3a08e10b366990ba8017406cbec257637805 (diff)
downloadlinux-e5aee2d894fdff91c61d589c683c4a948e6d90b5.tar.xz
Input: drv2667 - 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. Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044244.1042174-10-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