zephyr/include
Luiz Augusto von Dentz 038d727c18 kernel: work: Return error if timeout cannot be aborted
This is aligned with the documentation which states that an error shall
be returned if the work has been completed:

  '-EINVAL Work item is being processed or has completed its work.'

Though in order to be able to resubmit from the handler itself it needs
to be able to distinct when the work is already completed so instead of
-EINVAL it return -EALREADY when the work is considered to be completed.

Fixes #22803

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2020-02-17 22:37:26 +02:00
..
app_memory kernel: fix k_mem_partition data types 2019-12-12 14:48:42 -08:00
arch arch: arm: cortex_r: linker.ld: Fix ROM section names 2020-02-14 17:50:47 +01:00
audio include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
bluetooth Bluetooth: host: Rename scan recv callback info struct 2020-02-11 23:57:27 +02:00
canbus can: isotp: Add ISO-TP library 2020-02-06 10:16:29 +02:00
cmsis_rtos_v1
cmsis_rtos_v2 global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
console
crypto include: crypto: Add Galois/Counter Mode (GCM) support 2020-02-08 13:40:33 +02:00
data treewide: avoid address-of-compound-literal idiom in headers 2019-12-18 21:53:17 +01:00
debug debug: stack: Add missing log_strdup 2020-02-11 12:55:02 -08:00
dfu include: dfu: Add extern "C" in mcuboot.h 2020-01-15 12:18:59 -06:00
disk
display
drivers gpio: restore missing legacy devicetree direction flag 2020-02-13 22:50:45 +02:00
dt-bindings gpio: restore missing legacy devicetree direction flag 2020-02-13 22:50:45 +02:00
fs fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
linker tracing: add infrastructure for collection of tracing data 2020-02-05 23:54:26 -05:00
logging logging: Fixes c++ compile error using LOG_BACKEND_DEFINE 2020-02-11 20:11:12 +02:00
mgmt
net net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
posix posix: fix unistd.h extern C brace mismatch 2020-02-11 17:50:21 +02:00
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random
settings doc/subsys/settings: improve settings API doc 2020-01-31 07:45:52 -05:00
shell shell: telnet: Replace timer with a delayed work 2020-02-12 10:22:49 +02:00
stats
storage
sys kernel: move timing externs to public header 2020-02-06 23:07:37 -05:00
toolchain x86: fix large Kconfig values on 64-bit 2020-02-13 09:03:03 +02:00
tracing tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
usb usb: make usb descriptor power options configurable 2019-12-20 19:46:16 -05:00
zephyr include: Remove compat include headers 2019-12-10 08:39:37 -05:00
cache.h
device.h power: device: deduplicate suspending code 2020-02-02 09:05:15 -05:00
devicetree.h dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
exc_handle.h
fatal.h
generated_dts_board.h dts: Add include/generated_dts_board.h for backwards compatibility 2020-01-17 17:57:59 +01:00
init.h kernel: move test of kernel startup state to more visible location 2020-01-06 13:55:31 -05:00
irq_nextlevel.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
irq_offload.h kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
irq.h irq: add note about irq_lock/unlock access 2020-01-08 08:20:48 -05:00
kernel_includes.h
kernel_structs.h kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
kernel_version.h
kernel.h kernel: work: Return error if timeout cannot be aborted 2020-02-17 22:37:26 +02:00
ptp_clock.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
sched_priq.h
shared_irq.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
spinlock.h kernel: show what spinlock was used incorrectly 2020-01-13 10:17:16 -05:00
sw_isr_table.h
sys_clock.h sys_clock: Fix typo in SYS_CLOCK_HW_CYCLES_TO_NS64() macro 2019-12-17 13:06:55 -05:00
syscall_handler.h kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
syscall.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
timeout_q.h
toolchain.h
wait_q.h
zephyr.h