summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_api_kernel.c
diff options
context:
space:
mode:
authorNam T. Nguyen <namnguyen@chromium.org>2014-12-15 11:03:36 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-12-16 01:28:48 +0000
commitd53b6684a2b451e41d9af84829b08a0c3325792f (patch)
tree051b4914cfb15b3a26a34e420dd42a205cc83ec5 /firmware/lib/vboot_api_kernel.c
parent3f4d8d05ba4e32990c8584bd47cdf082d4604232 (diff)
downloadvboot-d53b6684a2b451e41d9af84829b08a0c3325792f.tar.gz
cgpt: Rework number of entries calculation
As pointed out by Daniel in CL:234996, the half_size_sectors should have been checked in both places. This CL reworks that part of the code to read easier. BUG=none BRANCH=none TEST=unittest Change-Id: I8faea3b094c375e4fd1a604a8fe759af88943fdf Reviewed-on: https://chromium-review.googlesource.com/235792 Reviewed-by: Daniel Ehrenberg <dehrenberg@chromium.org> Tested-by: Nam Nguyen <namnguyen@chromium.org> Commit-Queue: Nam Nguyen <namnguyen@chromium.org>
Diffstat (limited to 'firmware/lib/vboot_api_kernel.c')
0 files changed, 0 insertions, 0 deletions