mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 02:55:24 +00:00
The driver-specific config_info structure referenced from the device structure is marked const. Some drivers fail to preserve that qualifier when casting the pointer to the driver-specific structure, violating MISRA 11.8. Changes produced by scripts/coccinelle/const_config_info.cocci. Some changes proposed by the script are not included because they reveal mutation of state through the const pointer, though the code works as long as the driver-specific object is defined without the const qualifier. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.esp32 | ||
Kconfig.imx | ||
Kconfig.litex | ||
Kconfig.mcux | ||
Kconfig.mcux_ftm | ||
Kconfig.mcux_tpm | ||
Kconfig.nrf5_sw | ||
Kconfig.nrfx | ||
Kconfig.pca9685 | ||
Kconfig.rv32m1_tpm | ||
Kconfig.sam | ||
Kconfig.sifive | ||
Kconfig.stm32 | ||
Kconfig.xec | ||
pwm_dw.c | ||
pwm_handlers.c | ||
pwm_imx.c | ||
pwm_led_esp32.c | ||
pwm_litex.c | ||
pwm_mchp_xec.c | ||
pwm_mcux_ftm.c | ||
pwm_mcux_tpm.c | ||
pwm_mcux.c | ||
pwm_nrf5_sw.c | ||
pwm_nrfx.c | ||
pwm_pca9685.c | ||
pwm_pca9685.h | ||
pwm_rv32m1_tpm.c | ||
pwm_sam.c | ||
pwm_shell.c | ||
pwm_sifive.c | ||
pwm_stm32.c | ||
pwm_stm32.h |