On Tue, 15 Apr 2025 08:12:41 -0700, Daniel Schultz wrote: > Labels are not allowed before declarations. Move the carveout struct > at the beginning and only update 'end' at this point. > > This will fix following error: > > arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': > arch/arm/mach-k3/common_fdt.c:156:2: error: a label can only be part of a > statement and a declaration is not a statement > 156 | struct fdt_memory carveout = { > | ^~~~~~ > make[1]: *** [scripts/Makefile.build:256: arch/arm/mach-k3/common_fdt.o] > Error 1 > make: *** [Makefile:1919: arch/arm/mach-k3] Error 2 > > [...]
Applied to u-boot/master, thanks! [1/1] mach-k3: common_fdt: Move carveout struct commit: 4b1b07e3c6055edd29b98a7a30a5c7d062395df7 -- Tom