all: Update unsigend 'U' suffix due to multiplication
As the multiplication rule is updated, new unsigned suffixes are added in the code. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
2fb87b9dd2
commit
21358baa72
60 changed files with 107 additions and 106 deletions
|
@ -87,7 +87,7 @@ static inline bool z_is_idle_thread(void *entry_point)
|
|||
|
||||
static inline bool z_is_thread_pending(struct k_thread *thread)
|
||||
{
|
||||
return (thread->base.thread_state & _THREAD_PENDING) != 0;
|
||||
return (thread->base.thread_state & _THREAD_PENDING) != 0U;
|
||||
}
|
||||
|
||||
static inline bool z_is_thread_prevented_from_running(struct k_thread *thread)
|
||||
|
@ -117,7 +117,7 @@ static inline bool z_has_thread_started(struct k_thread *thread)
|
|||
|
||||
static inline bool z_is_thread_state_set(struct k_thread *thread, u32_t state)
|
||||
{
|
||||
return (thread->base.thread_state & state) != 0;
|
||||
return (thread->base.thread_state & state) != 0U;
|
||||
}
|
||||
|
||||
static inline bool z_is_thread_queued(struct k_thread *thread)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue