Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14609584 authored by Stephen Hines's avatar Stephen Hines Committed by Jakub Pawlowski
Browse files

Properly align some packed data structures.

Bug: http://b/31532493

Test: Built with -Waddress-of-packed-member enabled.

These data structures later take the address of their uuid field, which
results in a possibly unaligned access to the underlying data. To
prevent the misalignment, we add a further attribute to ensure that the
base of these packed structures is aligned at least as much as the uuid
data member requires (so we can continue using the address of it for
direct dereferences).

Change-Id: I3ec6945b6ea343bef11326a10343309a863786cf
parent c4767468
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment