Jacob Garber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34355 )
Change subject: nb/via/vx900: Ensure framebuffer size is within limits
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34355/3/src/northbridge/via/vx900/m...
File src/northbridge/via/vx900/memmap.c:
https://review.coreboot.org/c/coreboot/+/34355/3/src/northbridge/via/vx900/m...
PS3, Line 83: assert(size_mb != 0);
Just did: src/include/assert.h has assert() defined as a macro. […]
If we do that and size_mb is 0, then it will get rounded up to 1 after the fb_pow stuff and then print an incorrect error message on line 94 (since the size is actually 0 and not 1). I think we should just change this to a die() here with the right message.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34355
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3962e5cdc094c8da22d8dbadf16637e02fa98689
Gerrit-Change-Number: 34355
Gerrit-PatchSet: 4
Gerrit-Owner: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.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-Comment-Date: Wed, 17 Jul 2019 20:50:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Comment-In-Reply-To: Jacob Garber
jgarber1@ualberta.ca
Gerrit-MessageType: comment