Skip to content
Commit 788c954f authored by Julien Grall's avatar Julien Grall Committed by Greg Kroah-Hartman
Browse files

x86/xen: Remove undefined behavior in setup_features()



[ Upstream commit ecb6237f ]

1 << 31 is undefined. So switch to 1U << 31.

Fixes: 5ead97c8 ("xen: Core Xen implementation")
Signed-off-by: default avatarJulien Grall <jgrall@amazon.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20220617103037.57828-1-julien@xen.org


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c7bdaad9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment