zephyr/kernel
Flavio Ceolin 0866d18d03 irq: Fix irq_lock api usage
irq_lock returns an unsigned int, though, several places was using
signed int. This commit fix this behaviour.

In order to avoid this error happens again, a coccinelle script was
added and can be used to check violations.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-08-16 19:47:41 -07:00
..
include kernel: Remove unused definition 2018-08-16 19:47:41 -07:00
alert.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
atomic_c.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
CMakeLists.txt kernel: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for kernel files. 2018-05-15 17:48:18 +03:00
compiler_stack_protect.c kernel: add CODE_UNREACHABLE in _StackCheckHandler 2018-04-17 10:50:12 -07:00
device.c kernel: device: Only compare strings if pointer comparison fails 2018-02-15 17:31:59 -08:00
errno.c kernel: fix errno access for user mode 2018-07-19 16:44:59 -07:00
idle.c kernel: idle: Define _sys_soc_resume functions conditionally 2018-07-19 17:12:58 -04:00
init.c userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
int_latency_bench.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
Kconfig Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.event_logger Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.power_mgmt Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
mailbox.c kernel: Fix sloppy wait queue API 2018-05-18 01:48:48 +03:00
mem_domain.c kernel: mem_domain: Fix compile issues 2018-03-05 10:47:00 -06:00
mem_slab.c kernel: mem_slab: Reschedule in k_mem_slab_free only when necessary. 2018-05-18 20:16:50 +03:00
mempool.c kernel/mempool: Handle transient failure condition 2018-05-27 09:55:04 -04:00
msg_q.c kernel: Wait queues aren't dlists anymore 2018-05-19 07:00:55 +03:00
mutex.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
pipes.c kernel: Wait queues aren't dlists anymore 2018-05-19 07:00:55 +03:00
poll.c coverage: kernel: poll: Cleanup redundant code to improve coverage 2018-07-31 20:39:19 -04:00
queue.c kernel/drivers: fix compile warnings 2018-07-01 22:58:23 +02:00
sched.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
sem.c kernel: Fix sloppy wait queue API 2018-05-18 01:48:48 +03:00
smp.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
stack.c kernel: Wait queues aren't dlists anymore 2018-05-19 07:00:55 +03:00
sys_clock.c kernel: sched: Use ticks as time unit in time slicing. 2018-08-13 07:13:22 -07:00
system_work_q.c kernel: introduce stack definition macros 2017-06-09 18:53:28 -04:00
thread_abort.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
thread.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
timer.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
userspace_handler.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
userspace.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
version.c kernel: version: no need to store version in RAM 2017-09-07 16:34:50 -07:00
work_q.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00