4f64ae383d
The warning below appears once -Waddress-of-packed-mem is enabled: /home/carles/src/zephyr/zephyr/arch/x86/core/acpi.c: In function 'z_acpi_find_table': /home/carles/src/zephyr/zephyr/arch/x86/core/acpi.c:190:24: warning: taking address of packed member of 'struct acpi_xsdt' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | for (uint64_t *tp = &xsdt->table_ptrs[0]; tp < end; tp++) { To avoid the warning, use an intermediate void * variable. More info in #16587. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
arm64 | ||
common | ||
nios2 | ||
posix | ||
riscv | ||
sparc | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
Kconfig |