Re: [RFC PATCH 1/1] local_lock: Minor improvements of local_trylock*() documentation

From: Vlastimil Babka
Date: Mon May 05 2025 - 04:02:33 EST


On 4/30/25 16:59, Sebastian Andrzej Siewior wrote:
> On 2025-04-30 04:36:10 [-0300], Leonardo Bras wrote:
>> Fix local_trylock_init() documentation, as it was mentioning the non-try
>> helper instead, and use the opportunity to make clear the try_lock*() needs
>> to receive a try-enabled variable as parameter.
>
> Maybe replaced "try-enabled lock" with "local_trylock_t". "Try enabled
> lock" as mentioned in the documentation or "try-enabled variable" as here
> in the description does not really fit.

I agree, it's more clear that way.

Thanks,
Vlastimil

>> Signed-off-by: Leonardo Bras <leobras@xxxxxxxxxx>
>
> Sebastian