all: Add 'U' suffix when using unsigned variables

Add a 'U' suffix to values when computing and comparing against
unsigned variables.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2019-03-26 19:57:45 -06:00 committed by Kumar Gala
commit 24d71431e9
559 changed files with 2331 additions and 2328 deletions

View file

@ -37,7 +37,7 @@ void z_impl_k_thread_abort(k_tid_t thread)
struct k_spinlock lock = {};
k_spinlock_key_t key = k_spin_lock(&lock);
__ASSERT((thread->base.user_options & K_ESSENTIAL) == 0,
__ASSERT((thread->base.user_options & K_ESSENTIAL) == 0U,
"essential thread aborted");
z_thread_single_abort(thread);