summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@chromium.org>2019-09-25 09:12:24 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-09-30 11:43:28 +0000
commit4ab023329d9212342cf6f7cfa08fb388ac7f019b (patch)
treeb1ca81931b69acc9e75fd1b7db57b168978429d7 /.gitmodules
parent39f3f52b3eb0fee0c9908e07d910270d05952c0d (diff)
util/mb/google/hatch: update CRC calculation for correctness
The CRC result is treated as a signed value, and so in certain situations, the calculated value for the last four digits will not be correct. Ensure that the CRC is treated as an unsigned 32-bit value prior to converting the last 4 decimal digits to a string. Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org> Change-Id: I92f9ce1ceb7450f90b89c94e0ace6f79a9419b42 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35604 Reviewed-by: Andrew McRae <amcrae@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions