Re: [PATCH] staging: nvec: use guard(mutex) in nvec_write_sync()

From: Thierry Reding

Date: Tue Oct 13 2026 - 15:58:24 EST


On Mon, Oct 12, 2026 at 03:41:48PM -0600, Jeremy Clifton wrote:
> Thank you so much for your guidance and feedback.
>
> It is the result that the patch will produce. All the unlock calls will
> be deleted and the out of memory path will have no braces, as per
> the style guidelines.
>
> The motivation behind the patch is to defer usage of manual locks
> for new and improved guards, disallowing lock leaks.
>
> This way, there can be no error producing path by not calling unlock.
>
> Shall I send a v2 with motivation included?

Not a big deal in this case, but you might want to read up on how to
properly reply to emails:

https://subspace.kernel.org/etiquette.html#do-not-top-post-when-replying

Thierry

Attachment: signature.asc
Description: PGP signature