mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 03:51:57 +00:00
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> |
||
---|---|---|
.. | ||
include | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
fatal.c | ||
futex.c | ||
idle.c | ||
init.c | ||
Kconfig | ||
Kconfig.power_mgmt | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timeout.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |