Re: [PATCH] staging: nvec: use guard(mutex) in nvec_write_sync()
From: Julia Lawall
Date: Mon Oct 12 2026 - 17:48:45 EST
On Mon, 12 Oct 2026, 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?
Please adjust the second sentence to be clear that it is referring to the
result, not the initial state. If you would like to add something about
the motivation, that would probably be good too.
thanks,
julia
>
> On 10/12/26 2:45 PM, Julia Lawall wrote:
> > Is this the motivation for
> > doing the patch or the result of the patch.
>
>