Skip to content
Commit f1612236 authored by Carlo Caione's avatar Carlo Caione Committed by Anas Nashif
Browse files

userspace: Fix thread index type in z_thread_perms_all_clear()



The type for the thread index returned by thread_index_get() must be
casted to int when comparing with (-1). Directly using uintptr_t is
breaking the ARMv8 implementation where where the check (index != -1) is
verified also when no thread index is returned.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 2e0b86a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment