Attention is currently required from: Furquan Shaikh, Angel Pons.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47827 )
Change subject: cbfstool: Replace FILENAME_ALIGN 16 with ATTRIBUTE_ALIGN 4
......................................................................
Patch Set 11:
(1 comment)
File src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h:
https://review.coreboot.org/c/coreboot/+/47827/comment/99205c0d_f46b183a
PS11, Line 118: #define CBFS_ATTRIBUTE_ALIGN 4
Should we add an _Static_assert for existing attribute structs to guarantee that? This would also ma […]
I mean, I could do it for the structs that are fixed-size, but the problem is that not all of them are. So my solution here is basically just to put that (non-static) assert into cbfstool, and then if you added an attribute like that you'd still notice very quickly when trying out your code.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/47827
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I43f3906977094df87fdc283221d8971a6df01b53
Gerrit-Change-Number: 47827
Gerrit-PatchSet: 11
Gerrit-Owner: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Attention: Furquan Shaikh
furquan@google.com
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Comment-Date: Sat, 13 Feb 2021 02:23:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment