Attention is currently required from: Nico Huber, Edward O'Callaghan, Anastasia Klimchuk.

Evan Benn uploaded patch set #4 to this change.

View Change

Use chipsize_t (uint32_t) for all range types

Change the API of libflashrom and the internal implementation of layout
and write protect to use chipsize_t (uint32_t) for all values
representing offsets into or ranges in the flash.

BUG=b:245453390
BRANCH=None
TEST=flashrom_tester on arm32 and amd64
TEST=no new int truncation / size warnings

Change-Id: I31348806b7ea92a6ea8391a735f722a63aa7e488
Signed-off-by: Evan Benn <evanbenn@chromium.org>
---
M bindings/rust/libflashrom/src/lib.rs
M cli_classic.c
M flashrom.c
M ich_descriptors.c
M include/layout.h
M include/libflashrom.h
M layout.c
M libflashrom.c
M tests/chip_wp.c
M util/flashrom_tester/flashrom/src/flashromlib.rs
10 files changed, 122 insertions(+), 91 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/04/67004/4

To view, visit change 67004. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I31348806b7ea92a6ea8391a735f722a63aa7e488
Gerrit-Change-Number: 67004
Gerrit-PatchSet: 4
Gerrit-Owner: Evan Benn <evanbenn@google.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: newpatchset