Re: [U-Boot] [PATCH 1/1] sunxi: psci: avoid error address-of-packed-member

2019-11-19 Thread Jagan Teki
On Sun, Nov 10, 2019 at 8:40 AM Heinrich Schuchardt wrote: > > Compiling with GCC 9.2.1 leads to build errors: > > arch/arm/cpu/armv7/sunxi/psci.c: In function ‘sunxi_cpu_set_power’: > arch/arm/cpu/armv7/sunxi/psci.c:144:21: error: taking address of packed > member of ‘struct sunxi_cpucfg_reg’ may

[U-Boot] [PATCH 1/1] sunxi: psci: avoid error address-of-packed-member

2019-11-09 Thread Heinrich Schuchardt
Compiling with GCC 9.2.1 leads to build errors: arch/arm/cpu/armv7/sunxi/psci.c: In function ‘sunxi_cpu_set_power’: arch/arm/cpu/armv7/sunxi/psci.c:144:21: error: taking address of packed member of ‘struct sunxi_cpucfg_reg’ may result in an unaligned pointer value [-Werror=address-of-packed-member