mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 22:55:59 +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 | ||
audio | ||
bluetooth | ||
can | ||
clock_control | ||
console | ||
counter | ||
crypto | ||
dac | ||
debug | ||
display | ||
dma | ||
eeprom | ||
entropy | ||
espi | ||
ethernet | ||
flash | ||
gpio | ||
hwinfo | ||
i2c | ||
i2s | ||
ieee802154 | ||
interrupt_controller | ||
ipm | ||
kscan | ||
led | ||
led_strip | ||
lora | ||
modem | ||
net | ||
neural_net | ||
pcie | ||
peci | ||
pinmux | ||
ps2 | ||
ptp_clock | ||
pwm | ||
sensor | ||
serial | ||
spi | ||
timer | ||
usb | ||
video | ||
watchdog | ||
wifi | ||
CMakeLists.txt | ||
Kconfig |