zephyr/lib/utils
Mykyta Poturai 3afd9429c0 json: Fix alignment calculation for nested objects
Currently, json array macros are passing the outer "container" struct
to the Z_JSON_ELEMENT_DESCR macro, causing the alignment to be calculated
from the outer struct which may be incorrect. Fix this by using the
biggest shift from the nested objects to calculate the alignment as the
struct size is calculated based on the biggest alignment of it's members.

Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
2024-07-09 19:02:25 +02:00
..
base64.c
bitarray.c lib: check null pointer before taking lock for bitarray 2024-06-14 19:18:28 +02:00
CMakeLists.txt
dec.c
hex.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
json.c json: Fix alignment calculation for nested objects 2024-07-09 19:02:25 +02:00
Kconfig
notify.c
onoff.c
rb.c lib: avoided increments/decrements with side effects 2024-06-21 08:48:15 -04:00
ring_buffer.c
timeutil.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
utf8.c zephyr: Add zero-len check for utf8_trunc 2024-06-27 08:48:31 -04:00
winstream.c