From: Christopher N. Hesse Date: Wed, 18 Jul 2018 08:21:57 +0000 (+0200) Subject: a7xelte: Pack tfa struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4f97214214f5f31a5361a7c3eb58d0e55148a58;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a7xelte.git a7xelte: Pack tfa struct Discard any possible padding since all we want to do is have a linear data container. Change-Id: Ieb308874f83990c77adc26cfedf4d72ab78023ac --- diff --git a/amplifier/tfa.h b/amplifier/tfa.h index 13c9518..d9b471e 100644 --- a/amplifier/tfa.h +++ b/amplifier/tfa.h @@ -41,7 +41,7 @@ typedef enum { typedef struct { volatile int a1; volatile unsigned char a2[500]; -} tfa_handle_t; +} __attribute__((packed)) tfa_handle_t; /* * Vendor functions that we dlsym.