On 27.01.2023 20:05, Julien Grall wrote:
> From: Julien Grall <[email protected]>
> 
> The lock is not meant to be modified by _spin_is_locked(). So constify
> it.
> 
> This is helpful to be able to assert the locked is taken when the
> underlying structure is const.
> 
> Signed-off-by: Julien Grall <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>

But: Could I talk you into doing the same for _rw_is{,_write}_locked() for
consistency?

Jan

Reply via email to