diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-24 18:44:32 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-11-05 14:17:25 -0800 |
commit | 229ba714e52f7f29f41c1aa2e9f49feef3629322 (patch) | |
tree | 8847a6573dc78d8b55458b6b5c8b533d5041e3c3 /Kconfig | |
parent | dda8fdb033f48e759ff190c59aa266905ecba3dd (diff) | |
download | lwn-229ba714e52f7f29f41c1aa2e9f49feef3629322.tar.gz lwn-229ba714e52f7f29f41c1aa2e9f49feef3629322.zip |
Input: locomokbd - 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/Zxr4AMJrzhZlHAlf@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions