diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-07-29 18:19:46 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-31 19:19:33 +0200 |
commit | 21ce6efe289ecc8eb6f047ceb3c3c25303e7272e (patch) | |
tree | bbc1b02fbb1e8d68b9888d9f764ac657f94f5d3d /util | |
parent | e8c413318f6c4d4297b774ca129cd0a63cec4422 (diff) |
sis/sis966: don't store a 32bit value in a 16bit variable
That only makes deviceid == 0 (because shifting a 16bit value by 16
bits, well...)
Change-Id: Iddca1de20760f92f70fe2d05886b488e5b48313d
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1229558
Reviewed-on: https://review.coreboot.org/15960
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions