zephyr/kernel
Kumar Gala 0776392e4c kernel: msq_q: Fix compile warning
Fix a compile warning if we build using int types defined to match the
compiler.  We get the following warnings:

kernel/msg_q.c: In function ‘_impl_k_msgq_alloc_init’:
kernel/msg_q.c:75:9: warning: passing argument 3 of ‘__builtin_umul_overflow’ from incompatible pointer type [-Wincompatible-pointer-types]
         (u32_t *)&total_size)) {
         ^
kernel/msg_q.c:75:9: note: expected ‘unsigned int *’ but argument is of type ‘u32_t * {aka long unsigned int *}’

__builtin_umul_overflow expects to be passed unsigned int for all its
arguments, so cast to that instead of u32_t.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-29 10:52:00 -04:00
..
include kernel: ksched.h: Incorrect argument type in _pend_current_thread 2018-10-17 12:17:58 -04:00
alert.c
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c
int_latency_bench.c
Kconfig kernel/kconfig: Move TICKLESS options out of power management tree 2018-10-16 15:03:10 -04:00
Kconfig.power_mgmt kernel/kconfig: Move TICKLESS options out of power management tree 2018-10-16 15:03:10 -04:00
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c kernel: msq_q: Fix compile warning 2018-10-29 10:52:00 -04:00
mutex.c
pipes.c
poll.c
queue.c
sched.c kernel: sched: Fix compiler warning 2018-10-24 09:48:17 +01:00
sem.c kernel: sem: Fix few MISRA C violations. 2018-10-17 12:17:58 -04:00
smp.c
stack.c kernel: MISRA C: Fixes a few MISRA C issues. 2018-10-17 07:59:51 -04:00
system_work_q.c kernel: system_work_q: Set dedicated "sysworkq" name. 2018-10-19 07:58:45 -04:00
thread_abort.c
thread.c
timeout.c kernel/timeout: Fix build breakage due to stdio name collision 2018-10-17 12:15:44 -04:00
timer.c
userspace_handler.c
userspace.c
version.c
work_q.c