xen/vmap: use ISOLATE_LSB to wrap a violation of Rule 10.1

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Nicola Vetrini authored and Jan Beulich committed 2023-11-24 09:02:34 +01:00
1 parent de4f3cf327
commit 80d72670ad
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ static void *vm_alloc(unsigned int nr, unsigned int align,
if ( !align )
align = 1;
else if ( align & (align - 1) )
align &= -align;
align = ISOLATE_LSB(align);
ASSERT((t >= VMAP_DEFAULT) && (t < VMAP_REGION_NR));
if ( !vm_base[t] )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.