mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-08 11:18:53 +00:00
421e7a41c6
struct sunxi_prcm_reg is naturally packed. There is no need to define it as packed. Defining it as packed leads to compilation errors with GCC 9.2.1: CC arch/arm/lib/reloc_arm_efi.o arch/arm/cpu/armv7/sunxi/psci.c: In function ‘sunxi_cpu_set_power’: :qarch/arm/cpu/armv7/sunxi/psci.c:163:21: error: taking address of packed member of ‘struct sunxi_prcm_reg’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 163 | sunxi_power_switch(&prcm->cpu_pwr_clamp[cpu], &prcm->cpu_pwroff, | ^~~~~~~~~~~~~~~~~~~~~~~~~ Remove __packed attribute from struct sunxi_prcm_reg. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
||
---|---|---|
.. | ||
boot0.h | ||
ccu.h | ||
clock.h | ||
clock_sun4i.h | ||
clock_sun6i.h | ||
clock_sun8i_a83t.h | ||
clock_sun9i.h | ||
clock_sun50i_h6.h | ||
cpu.h | ||
cpu_sun4i.h | ||
cpu_sun9i.h | ||
cpu_sun50i_h6.h | ||
cpucfg.h | ||
display.h | ||
display2.h | ||
dma.h | ||
dma_sun4i.h | ||
dram.h | ||
dram_sun4i.h | ||
dram_sun6i.h | ||
dram_sun8i_a23.h | ||
dram_sun8i_a33.h | ||
dram_sun8i_a83t.h | ||
dram_sun9i.h | ||
dram_sun50i_h6.h | ||
dram_sunxi_dw.h | ||
gpio.h | ||
gtbus.h | ||
gtbus_sun9i.h | ||
i2c.h | ||
lcdc.h | ||
mmc.h | ||
p2wi.h | ||
pmic_bus.h | ||
prcm.h | ||
pwm.h | ||
rsb.h | ||
spl.h | ||
sys_proto.h | ||
timer.h | ||
tve.h | ||
tzpc.h | ||
watchdog.h |