zephyr/drivers/timer
Stephanos Ioannidis 4004475e7f drivers: timer: nrf_rtc_timer: Fix assert conditions
This commit fixes the incomplete assert conditions for the `chan`
argument passed to the nRF RTC timer functions.

Note that the `chan` argument for this driver is of a **signed**
integer type, so it is necessary to check that its value is
non-negative.

This fixes the warnings generated by the GCC 12 such as:

  error: array subscript -1 is below array bounds of '...'

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-05 15:15:34 +02:00
..
altera_avalon_timer_hal.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
apic_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
apic_tsc.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
arcv2_timer0.c drivers: arc/designware: remove unused <soc.h> 2022-08-03 07:46:14 -04:00
arm_arch_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
cc13x2_cc26x2_rtc_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
CMakeLists.txt intel_adsp: Unify cavs and ace timers 2022-07-06 15:11:07 -04:00
cortex_m_systick.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
esp32c3_sys_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
hpet.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
intel_adsp_timer.c intel_adsp: rename clock registers due to possible conflict 2022-07-28 14:11:23 -04:00
ite_it8xxx2_timer.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
Kconfig
Kconfig.altera_avalon
Kconfig.apic drivers/timer/apic_tsc: Select the 64-bit cycle counter in deadline mode 2022-07-08 21:59:06 -04:00
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs intel_adsp: Unify cavs and ace timers 2022-07-06 15:11:07 -04:00
Kconfig.cc13x2_cc26x2_rtc
Kconfig.cortex_m_systick
Kconfig.esp32c3_sys
Kconfig.hpet
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_os
Kconfig.mips_cp0
Kconfig.native_posix
Kconfig.npcx_itim
Kconfig.nrf_rtc
Kconfig.rcar_cmt
Kconfig.riscv_machine soc/riscv/sifive-freedom/fe310: use correct SYS_CLOCK_HW_CYCLES_PER_SEC 2022-05-24 08:58:43 -07:00
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc
Kconfig.stm32_lptim
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
litex_timer.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
mchp_xec_rtos_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_gpt_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_lptmr_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_os_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mips_cp0_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
native_posix_timer.c include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
npcx_itim_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Fix assert conditions 2022-08-05 15:15:34 +02:00
rcar_cmt_timer.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
riscv_machine_timer.c drivers: timer: riscv_machine_timer: fix compatible comment 2022-08-03 05:03:50 +01:00
rv32m1_lptmr_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
sam0_rtc_timer.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
stm32_lptim_timer.c driver: timer: stm32_lptim: only set LSE drive if supported 2022-07-08 11:48:07 +00:00
sys_clock_init.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
xlnx_psttc_timer_priv.h
xlnx_psttc_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
xtensa_sys_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00