summaryrefslogtreecommitdiff
path: root/tests/verify_kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/verify_kernel.c')
-rw-r--r--tests/verify_kernel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/verify_kernel.c b/tests/verify_kernel.c
index fffd102c..051e629d 100644
--- a/tests/verify_kernel.c
+++ b/tests/verify_kernel.c
@@ -19,7 +19,8 @@
#include "vboot_api.h"
#include "vboot_kernel.h"
-static uint8_t workbuf[VB2_KERNEL_WORKBUF_RECOMMENDED_SIZE];
+static uint8_t workbuf[VB2_KERNEL_WORKBUF_RECOMMENDED_SIZE]
+ __attribute__((aligned(VB2_WORKBUF_ALIGN)));
static struct vb2_context *ctx;
static struct vb2_shared_data *sd;