Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39304 )
Change subject: cbfs: Simplify load/map API names, remove type arguments
......................................................................
Patch Set 7:
(2 comments)
https://review.coreboot.org/c/coreboot/+/39304/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/39304/4//COMMIT_MSG@24
PS4, Line 24: known
Sorry, I'm not sure what you're saying... […]
I'm merely trying to ensure we don't allow for lazy programming. That and those knowns are not always true. I wasn't asking you to fix up all the other code, but...
cbfs_boot_map_with_leak -> cbfs_map
Now the code looks like it's ok to never pair an unmap. The ugly naming forces one to think about the behavior of the code being written or copied.
Anyway, it seems you aren't that concerned so we can let it be.
https://review.coreboot.org/c/coreboot/+/39304/4/src/security/vboot/ec_sync....
File src/security/vboot/ec_sync.c:
https://review.coreboot.org/c/coreboot/+/39304/4/src/security/vboot/ec_sync....
PS4, Line 397:
We're returning the pointer to the caller, its contents must remain valid. […]
got it. ick.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39304
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib24325400815a9c3d25f66c61829a24a239bb88e
Gerrit-Change-Number: 39304
Gerrit-PatchSet: 7
Gerrit-Owner: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Alexander Couzens
lynxis@fe80.eu
Gerrit-Reviewer: Andrey Petrov
andrey.petrov@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: David Guckian
david.guckian@intel.com
Gerrit-Reviewer: Evgeny Zinoviev
me@ch1p.io
Gerrit-Reviewer: Huang Jin
huang.jin@intel.com
Gerrit-Reviewer: Lee Leahy
leroy.p.leahy@intel.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: Vanessa Eusebio
vanessa.f.eusebio@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Fri, 09 Oct 2020 01:10:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Comment-In-Reply-To: Aaron Durbin
adurbin@chromium.org
Gerrit-MessageType: comment