diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-04-30 17:27:40 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-06 10:29:28 +0000 |
commit | fb0fa7643eab9d81626c375a1b3b8d11138dd979 (patch) | |
tree | 7fc47260af7f7dddef2cb3c12f1e7a9e1770e1a0 /util/msrtool | |
parent | 5471be69b9168d3dbceac064522522a97ed1a0db (diff) |
sb/amd/rs780: Use 32 bit variable to avoid truncation
The {read,write}_index functions expect a 32 bit value, as
do the bitwise operations.
Found-by: Coverity Scan #1229584
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: Idc2bc46c899d5a4e8b089644dca076a88d97dd7c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32528
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'util/msrtool')
0 files changed, 0 insertions, 0 deletions