diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-04 10:30:41 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-21 09:12:37 +0000 |
commit | 09c31d557fb731cac17821e547cdb644ee817463 (patch) | |
tree | c147c2a76675de60d360c861a31cbfe92b7898cb /src/superio/aspeed | |
parent | 8de6cb975f8cf5cd7a4a98b5784fea3d36ce8fec (diff) |
nb/amd/amdfam10: Use 64 bits in multiplication
The literal needs to be cast to a uint64 to prevent num_nodes
from being implicitly promoted to a signed int.
Change-Id: Id2fa328fb8d0a9827c7c78157c024736e9b26dc4
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1347343
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33210
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/superio/aspeed')
0 files changed, 0 insertions, 0 deletions