On Thu, Aug 15, 2024 at 01:44:55PM +0200, Ahmad Fatoum wrote: > From: Ahmad Fatoum <ahmad@xxxxxx> > > Build test on x86 fails due to pointer cast and because of forcing the > bigger alignment on the flexible array. > > The problematic pointer cast is for the XSDT, which is 64-bit-only, so > let's fix the cast and return an error if we somehow see an XSDT on > 32-bit. > > For the flexible array, let's use the size of the pointer for the > alignment. > > Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> > --- > v1 -> v2: > - fix CI x86_64 breakage, by keeping the packed/aligned specifiction > as is, but changing it to 32-bit on 32-bit systems. > --- > drivers/bus/acpi.c | 6 ++++-- > include/acpi.h | 2 +- > 2 files changed, 5 insertions(+), 3 deletions(-) I seem to have applied v1 of this patch. Can you send a fixup? Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |