Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33934 )
Change subject: lib: Rewrite qemu-armv7 ramdetect
......................................................................
Patch Set 1:
(3 comments)
https://review.coreboot.org/#/c/33934/1/src/lib/ramdetect.c
File src/lib/ramdetect.c:
https://review.coreboot.org/#/c/33934/1/src/lib/ramdetect.c@25
PS1, Line 25: int
Use CB_SUCCESS and friend?
https://review.coreboot.org/#/c/33934/1/src/lib/ramdetect.c@31
PS1, Line 31: clobering
clober
https://review.coreboot.org/#/c/33934/1/src/lib/ramdetect.c@66
PS1, Line 66: if (msb > (sizeof(size_t) * 8 - 20))
Can you add a comment, why multiply by 8 and subtract 20?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/33934
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I37386c6a95bfc3b7b25aeae32c6e14cff9913513
Gerrit-Change-Number: 33934
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Asami Doi
d0iasm.pub@gmail.com
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Patrick Rudolph
siro@das-labor.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 01 Jul 2019 10:41:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment