zephyr/drivers/sensor/nxp/fxls8974
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
..
CMakeLists.txt
fxls8974_trigger.c
fxls8974.c drivers: sensor: fxls8974: fix size misalignment memory access 2025-02-07 02:24:17 +01:00
fxls8974.h drivers: sensor: fxls8974: fix size misalignment memory access 2025-02-07 02:24:17 +01:00
Kconfig