zephyr/drivers/sensor/nxp
David Leach 50a044a33d drivers: sensor: fxls8974: fix size misalignment memory access
Coverity identified out-of-bounds access. A uint8_t being cast to
an enum is undefined in that the enum can be allocated 4bytes.

Change the internal function to use the base type of the variable,
uint8_t to avoid potential compiler size alignement problems.

Fixes #81927

Signed-off-by: David Leach <david.leach@nxp.com>
2025-02-07 02:24:17 +01:00
..
fxas21002 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
fxls8974 drivers: sensor: fxls8974: fix size misalignment memory access 2025-02-07 02:24:17 +01:00
fxos8700 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
mcux_acmp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
mcux_lpcmp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nxp_kinetis_temp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nxp_tempmon drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
p3t1755 drivers: sensor: nxp: add code judge whether read back correctly 2024-12-18 01:01:37 +01:00
qdec_mcux drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
qdec_nxp_s32 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
CMakeLists.txt drivers: sensor: p3t1755: Driver for NXP digital temperature sensor 2024-10-25 08:53:56 +02:00
Kconfig drivers: sensor: p3t1755: Driver for NXP digital temperature sensor 2024-10-25 08:53:56 +02:00