zephyr/drivers/ieee802154
Peter Bigot 4f16b419e8 device: avoid casting away const from config_info pointer
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>
2020-05-13 18:21:52 +02:00
..
CMakeLists.txt drivers: ieee802154: add Decawave DW1000 driver 2020-05-07 23:30:58 -05:00
Kconfig drivers: ieee802154: add Decawave DW1000 driver 2020-05-07 23:30:58 -05:00
Kconfig.cc13xx_cc26xx
Kconfig.cc1200 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.cc2520 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.dw1000 drivers: ieee802154: add Decawave DW1000 driver 2020-05-07 23:30:58 -05:00
Kconfig.kw41z
Kconfig.mcr20a
Kconfig.nrf5
Kconfig.rf2xx drivers: ieee802154: rf2xx: Add no auto start option 2020-04-28 10:30:55 +03:00
ieee802154_cc13xx_cc26xx.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_cc13xx_cc26xx.h
ieee802154_cc1200.c drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
ieee802154_cc1200.h
ieee802154_cc1200_regs.h
ieee802154_cc1200_rf.h
ieee802154_cc2520.c drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
ieee802154_cc2520.h
ieee802154_cc2520_regs.h
ieee802154_dw1000.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
ieee802154_dw1000_regs.h drivers: ieee802154: add Decawave DW1000 driver 2020-05-07 23:30:58 -05:00
ieee802154_kw41z.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_mcr20a.c drivers: ieee802154: mcr20a: Convert to use k_timeout_t 2020-05-01 10:50:03 +03:00
ieee802154_mcr20a.h drivers: ieee802154: Convert to new DT_INST macros 2020-03-30 17:04:32 -05:00
ieee802154_mcr20a_regs.h
ieee802154_nrf5.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
ieee802154_nrf5.h drivers: ieee802154_nrf5: Notify about FPB value in ACK reponse 2020-04-17 09:17:38 +03:00
ieee802154_rf2xx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
ieee802154_rf2xx.h drivers: ieee802154: rf2xx: Add local-mac-address 2020-04-28 10:30:55 +03:00
ieee802154_rf2xx_iface.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
ieee802154_rf2xx_iface.h
ieee802154_rf2xx_regs.h
ieee802154_uart_pipe.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_uart_pipe.h