diff options
author | Joe Moore <awokd@danwin1210.me> | 2019-10-16 05:27:41 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-10-22 12:51:36 +0000 |
commit | 2f2e113f6077b57c20d482fafaac1b3331ad9f8d (patch) | |
tree | 967b5f7fc42060ae101bb9854732d716512d207a /src/drivers/maxim/max77802 | |
parent | 5bba746f98eb0d8f434a0583cfef9d665cc484e9 (diff) |
vc/amd/agesa/f16kb: Cast to UINT64 to avoid overflow
Evaluated using 32-bit arithmetic, then used in a context that
expects an expression of type UINT64. Cast to UINT64 instead.
Change-Id: I4f0aa26e116b47505633897c790ca8e86ea5dc4e
Signed-off-by: Joe Moore <awokd@danwin1210.me>
Found-by: Coverity CID 1241847
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36081
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/maxim/max77802')
0 files changed, 0 insertions, 0 deletions