Input: serio - use guard notation when acquiring mutexes and spinlocks
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-20-dmitry.torokhov@gmail.com Signed-off-by:Dmitry Torokhov <dmitry.torokhov@gmail.com>
Loading
Please sign in to comment