Hi Julien,

> -----Original Message-----
> Subject: [PATCH] xen/common: Constify the parameter of _spin_is_locked()
> 
> 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

Nit: s/locked/lock/
This definitely can be fixed on commit.

> underlying structure is const.
> 
> Signed-off-by: Julien Grall <[email protected]>

I tried to test this patch on FVP (both Arm32 and Arm64) to play safe.
This patch is good (as expected of course :)), so:

Reviewed-by: Henry Wang <[email protected]>
Tested-by: Henry Wang <[email protected]> #Arm

Kind regards,
Henry

Reply via email to