Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40765 )
Change subject: Makefile: Add is-power-of-two
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40765/1/Makefile.inc
File Makefile.inc:
https://review.coreboot.org/c/coreboot/+/40765/1/Makefile.inc@162
PS1, Line 162: 0x10000000 0x20000000 0x40000000 0x80000000
Can't you just put a _Static_assert() in a C file instead of doing this? (The IS_POWER_OF_2() we hav […]
(Actually I think __builtin_choose_expr() might not help there either, but we could still define an IS_POWER_OF_2_UNSAFE() instead for those uses.)
--
To view, visit
https://review.coreboot.org/c/coreboot/+/40765
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I189a4c722996279e2d8940c566cb362f53ef92d8
Gerrit-Change-Number: 40765
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-Comment-Date: Mon, 27 Apr 2020 23:23:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Gerrit-MessageType: comment