Skip to content
Commit ce60d04f authored by Punit Vara's avatar Punit Vara Committed by Andrew Boie
Browse files

kernel: sched.c: Fix datatype mismatch in comparision



All arguments comes from userspace has data type u32_t but
base.prio has data type of s8_t. Comparision between s8_t and u32_t
cannot be done. That's why typecast priority coming from userspace(prio)
to s8_t data type.

Signed-off-by: default avatarPunit Vara <punit.vara@intel.com>
parent 8cf7ff5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment