On 30/01/2023 08:11, Jan Beulich wrote:
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?

Sure. Although, I would prefer to do it in a separate patch.

Cheers,

--
Julien Grall

Reply via email to