Re: [PATCH 01/14] tracing: Switch trace.c code over to use guard()
From: Markus Elfring
Date: Fri Dec 20 2024 - 11:33:49 EST
…
> Switch every location that ends with unlocking a mutex or freeing on error
> over to using the guard(mutex)() and __free() infrastructure to let the
> compiler worry about releasing locks. …
Can it be safer and cleaner to split adjustments for these programming interfaces?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.13-rc3#n81
Regards,
Markus