aboutsummaryrefslogtreecommitdiff
path: root/xtensa-semi.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-01-04 22:50:09 +0100
committerAurelien Jarno <aurelien@aurel32.net>2012-01-07 21:29:26 +0100
commitc27808657bd633fade6fe3e5f193504aab713b07 (patch)
tree10f46e59f57ddc1040a8df76b870e5c0ecd9ef09 /xtensa-semi.c
parentf840fa995f88bc2bea7311f003e8de5ceb8ab276 (diff)
sm501: Fix size of color_reg
color_reg is expected to hold 32 bit values, so it was too small. This bug was reported by coverity: hw/sm501.c:624: result_independent_of_operands: color_reg >> 16 is 0 regardless of the values of its operands. This occurs as the bitwise first operand of '&'. Cc: Shin-ichiro Kawasaki <kawasaki@juno.dti.ne.jp> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'xtensa-semi.c')
0 files changed, 0 insertions, 0 deletions