mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 02:15:22 +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> |
||
---|---|---|
.. | ||
adc_common.c | ||
adc_context.h | ||
adc_handlers.c | ||
adc_lmp90xxx.c | ||
adc_mchp_xec.c | ||
adc_mcp320x.c | ||
adc_mcux_adc12.c | ||
adc_mcux_adc16.c | ||
adc_nrfx_adc.c | ||
adc_nrfx_saadc.c | ||
adc_sam_afec.c | ||
adc_sam0.c | ||
adc_shell.c | ||
adc_stm32.c | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.lmp90xxx | ||
Kconfig.mcp320x | ||
Kconfig.mcux | ||
Kconfig.nrfx | ||
Kconfig.sam_afec | ||
Kconfig.sam0 | ||
Kconfig.stm32 | ||
Kconfig.xec |