From 6d494e7917cdc20b1e0fb235da16b08a141aeb47 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Wed, 18 Jul 2018 10:21:57 +0200 Subject: [PATCH] a5xelte: Pack tfa struct Discard any possible padding since all we want to do is have a linear data container. Change-Id: Ieb308874f83990c77adc26cfedf4d72ab78023ac --- amplifier/tfa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1