summaryrefslogtreecommitdiff
path: root/tests/lib/malloc-test.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-31 13:55:52 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-06 06:49:59 +0000
commit8aedb34501450920a663342429e409562431e1c2 (patch)
treeaa5c0c834eede37a0ded59dd2fd3347457ce77af /tests/lib/malloc-test.c
parent5b5b8afdf10cd06fec45e43bc5896e8a1da46fc0 (diff)
mb/prodrive/hermes: Properly pack EEPROM structures
To pack a struct, the `__packed` attribute must come after the `struct` keyword. Moreover, unions cannot be packed (structs inside unions can, though). Correct uses of `__packed` so that EEPROM structs get packed. Change-Id: I39d2c9ebc370605d5623b134189aa95a074ec7c3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51980 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: <wouter.eckhardt@prodrive-technologies.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'tests/lib/malloc-test.c')
0 files changed, 0 insertions, 0 deletions