On 27.01.2023 20:05, Julien Grall wrote:
> From: Julien Grall <jgr...@amazon.com>
> 
> 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 <jgr...@amazon.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>

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

Jan

Reply via email to