diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vb2_ui_action_tests.c | 2 | ||||
-rw-r--r-- | tests/vb2_ui_tests.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/vb2_ui_action_tests.c b/tests/vb2_ui_action_tests.c index 79f82caa..e439d919 100644 --- a/tests/vb2_ui_action_tests.c +++ b/tests/vb2_ui_action_tests.c @@ -33,7 +33,7 @@ struct display_call { uint32_t locale_id; uint32_t selected_item; uint32_t disabled_item_mask; -}; +} __attribute__((packed)); static uint8_t workbuf[VB2_KERNEL_WORKBUF_RECOMMENDED_SIZE] __attribute__((aligned(VB2_WORKBUF_ALIGN))); diff --git a/tests/vb2_ui_tests.c b/tests/vb2_ui_tests.c index 5dc1a2e7..004836a0 100644 --- a/tests/vb2_ui_tests.c +++ b/tests/vb2_ui_tests.c @@ -29,7 +29,7 @@ struct display_call { uint32_t disabled_item_mask; /* TODO(b/156448738): Add more params and their tests */ uint32_t current_page; -}; +} __attribute__((packed)); struct beep_call { uint32_t msec; |