mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 04:05:46 +00:00
A call to atomic_set_bit_to() was used for clearing bits in an atomic_t variable that stores information about allocated GPIOTE channels. This caused an issue to be reported by Coverity, as the function treats its first parameter as an array and it was provided with a pointer to a singleton. This commit replaces that call with atomic_and(), to prevent the issue from being reported and for consistency with the way bits are set for allocated GPIOTE channels (what is done with a call to atomic_or()). Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
gpio_cc13xx_cc26xx.c | ||
gpio_cc32xx.c | ||
gpio_cmsdk_ahb.c | ||
gpio_cmsdk_ahb.h | ||
gpio_dw_registers.h | ||
gpio_dw.c | ||
gpio_dw.h | ||
gpio_esp32.c | ||
gpio_gecko.c | ||
gpio_handlers.c | ||
gpio_ht16k33.c | ||
gpio_imx.c | ||
gpio_intel_apl.c | ||
gpio_litex.c | ||
gpio_lmp90xxx.c | ||
gpio_mchp_xec.c | ||
gpio_mcp23s17.c | ||
gpio_mcp23s17.h | ||
gpio_mcux_igpio.c | ||
gpio_mcux_lpc.c | ||
gpio_mcux.c | ||
gpio_mmio32.c | ||
gpio_nrfx.c | ||
gpio_pca95xx.c | ||
gpio_rv32m1.c | ||
gpio_sam.c | ||
gpio_sam0.c | ||
gpio_shell.c | ||
gpio_sifive.c | ||
gpio_stellaris.c | ||
gpio_stm32.c | ||
gpio_stm32.h | ||
gpio_sx1509b.c | ||
gpio_utils.h | ||
Kconfig | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.cc32xx | ||
Kconfig.cmsdk_ahb | ||
Kconfig.dw | ||
Kconfig.esp32 | ||
Kconfig.gecko | ||
Kconfig.ht16k33 | ||
Kconfig.imx | ||
Kconfig.intel | ||
Kconfig.litex | ||
Kconfig.lmp90xxx | ||
Kconfig.mcp23s17 | ||
Kconfig.mcux | ||
Kconfig.mcux_igpio | ||
Kconfig.mcux_lpc | ||
Kconfig.mmio32 | ||
Kconfig.nrfx | ||
Kconfig.pca95xx | ||
Kconfig.rv32m1 | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stellaris | ||
Kconfig.stm32 | ||
Kconfig.sx1509b | ||
Kconfig.xec |