Attention is currently required from: Yidi Lin, Yu-Ping Wu.
Hello Yidi Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/77193?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed: Verified+1 by build bot (Jenkins)
Change subject: libpayload/cbfs: Fill size_out even if cbfs_map() fails ......................................................................
libpayload/cbfs: Fill size_out even if cbfs_map() fails
When cbfs_map()/cbfs_ro_map() fails, the caller may still want to know the decompressed size of the CBFS file, for example, to print an error message. Move the assignment earlier in the flow. Note that coreboot's cbfs_map() is already doing the same.
BUG=none TEST=(From payloads/libpayload) make unit-tests -j TEST=emerge-geralt libpayload BRANCH=none
Change-Id: I82c6b7e69c95bf597fa3c7d37dd11252893c01af Signed-off-by: Yu-Ping Wu yupingso@chromium.org --- M payloads/libpayload/libcbfs/cbfs.c 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/77193/2