Skip to content
Commit d48f99f0 authored by Dmytro Firsov's avatar Dmytro Firsov Committed by Anas Nashif
Browse files

xenvm: evtchn: fix undefined value during event handling



This commit fixes issue with undefined value during position calculations.
Shift for positions may be >32, so we need to explicitly use unsigned long
casting to prevent unexpected behavior during event handling.

Thanks @jgrall for suggestion.

Signed-off-by: default avatarDmytro Firsov <dmytro_firsov@epam.com>
parent 5f4fd311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment