summaryrefslogtreecommitdiff
path: root/tests/vb21_misc_tests.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-11-05 18:36:42 +0800
committerCommit Bot <commit-bot@chromium.org>2019-11-14 23:19:20 +0000
commit80e4c1b6db31d31824edf13df4ad6fd9c022bef1 (patch)
tree9bf82bffc462019bfc9e2b496d923dd070f4efad /tests/vb21_misc_tests.c
parente1ce1ae39ee02d2b8647a0202e1c3779f5f1f7bc (diff)
downloadvboot-80e4c1b6db31d31824edf13df4ad6fd9c022bef1.tar.gz
vboot: align workbuf to VB2_WORKBUF_ALIGN
Also standardize on position and spacing of __attribute__. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Ic61d6193c2413824837a51af98eb2dcd9ea4ab85 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1902843 Commit-Queue: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> (cherry picked from commit 92ea19ae091482484c84d7b09049f7dc74bf6f42) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1918007 Reviewed-by: Shelley Chen <shchen@chromium.org> Commit-Queue: Shelley Chen <shchen@chromium.org> Tested-by: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'tests/vb21_misc_tests.c')
-rw-r--r--tests/vb21_misc_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vb21_misc_tests.c b/tests/vb21_misc_tests.c
index f86d3f2e..f76ff292 100644
--- a/tests/vb21_misc_tests.c
+++ b/tests/vb21_misc_tests.c
@@ -18,7 +18,7 @@
/* Common context for tests */
static uint8_t workbuf[VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE]
- __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
+ __attribute__((aligned(VB2_WORKBUF_ALIGN)));
static struct vb2_context *ctx;
static struct vb2_shared_data *sd;
static struct vb2_gbb_header gbb;