diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-04 21:17:07 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-04 00:58:14 -0700 |
| commit | 74c0b4c0ddf751578ce04e85075afbf7d6ef4229 (patch) | |
| tree | fe5d9548b7aba59378973a420860117b98e9ca64 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | Input: serio - define serio_pause_rx guard to pause and resume serio ports (diff) | |
| download | linux-74c0b4c0ddf751578ce04e85075afbf7d6ef4229.tar.gz linux-74c0b4c0ddf751578ce04e85075afbf7d6ef4229.zip | |
Input: libps2 - use guard notation when temporarily pausing serio ports
Using guard notation makes the code more compact and error handling
more robust by ensuring that serio ports are resumed in all code paths
when control leaves critical section.
Link: https://lore.kernel.org/r/20240905041732.2034348-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
