zephyr/kernel
Steven Wang 2b2fa660b0 [Code coverage]: Fix the issue of function code coverage in device.c.
It was reported in the code coverage report that Z_SYSCALL_HANDLER() was
not called by other code, if we run "sanitycheck -p qemu_x86 --coverage
-T tests/kernel/device/".

The root cause is that we include "errno.h", which includes
"include/generated/syscalls/device.h". It causes that the
declare of device_get_binding() in "include/generated/syscalls/device.h"
is marked as "has been called", rather than Z_SYSCALL_HANDLER()
in device.c.

So I remove "#include <errno.h>", which is useless in device.c. Also,
"#include <sys/util.h>" is removed for the same reason.

Signed-off-by: Steven Wang <steven.l.wang@linux.intel.com>
2019-09-17 12:35:30 +08:00
..
include userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
atomic_c.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
CMakeLists.txt kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
compiler_stack_protect.c kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
device.c [Code coverage]: Fix the issue of function code coverage in device.c. 2019-09-17 12:35:30 +08:00
errno.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
fatal.c kernel: remove z_fatal_print() 2019-09-12 05:17:39 -04:00
futex.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
idle.c cleanup: include/: move power.h to power/power.h 2019-06-27 22:55:49 -04:00
init.c linker: Add dtcm section for Cortex M7 MCUs 2019-07-19 10:05:46 +02:00
Kconfig tests: increase main stack size for x86 with ztest 2019-08-05 13:25:50 +02:00
Kconfig.power_mgmt
mailbox.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mem_domain.c userspace: adjust arch memory domain interface 2019-08-05 13:25:50 +02:00
mem_slab.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mempool.c malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
msg_q.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
mutex.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
pipes.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
poll.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
queue.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
sched.c kernel: Port remaining syscalls to new API 2019-09-12 11:31:50 +08:00
sem.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
system_work_q.c
thread_abort.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
thread.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
timeout.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
timer.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
userspace_handler.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
userspace.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
version.c
work_q.c kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00